Comments
1 comment
-
Hi @eko_joseph
Thank you for reaching out on the Redgate forums regarding your logging inquiry.
Doing some checks with the
<b>-q</b>
(--quiet) tag it does appear to suppress the debug logging which may not be optimal for your usage as you would ideally just remove the -X flag and revert to a standard output. It may be possible to test usage of -q in your process to see if it works.Outside this it may be possibly to manually build and configure a logger with SLF4J.
There's documentation on configuring a logger here, but you'd need to source any transitive dependencies yourselves.
<i>flyway.loggers=slf4j2</i>
Then using Logback as an example, you can configure the log level in your logback.xml configuration for Flyway:
<logger name="org.flywaydb" level="INFO" />
This configuration will set the log level for the Flyway logger to INFO, which should significantly reduce the amount of log output while still providing important information.
Add comment
Please sign in to leave a comment.
What HTTP data is outgoing at this point when the S3 .sql file is being printed out? Where is it going? My original interpretation was that the baseline was being re-run on our DB. My new interpretation is that migration is actually being received locally by an outgoing HTTP request.
Example lines:
[07:02:58] : [Step 4/6] [DEBUG] http-outgoing-1 >> GET /V1__our_db_baseline.sql HTTP/1.1