Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyway Logging New Enhancement #3669

Open
ucguy4u opened this issue May 5, 2023 · 1 comment
Open

Flyway Logging New Enhancement #3669

ucguy4u opened this issue May 5, 2023 · 1 comment

Comments

@ucguy4u
Copy link

ucguy4u commented May 5, 2023

Which version and edition of Flyway are you using?

flyway:9.16.1

If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)

yes

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)

Command-line docker image : redgate/flyway:9.16.1

Which database are you using? (Type & version)

Yugabyte (PostgreSQL 11.2)

Which operating system are you using?

MacOS

What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
docker run --platform linux/amd64 \
-v $(pwd)/sql/dml:/flyway/sql/dml \
-v $(pwd)/sql/ddl:/flyway/sql/ddl:rw \
-v $(pwd)/output:/flyway/output \
--name flyway \
--rm redgate/flyway:9.16.1 \
-licenseKey=\
-url=jdbc:postgresql://localhost:5433/yugabyte \
-user=yugabyte \
-password= \
-connectRetries=60 \
-enterprise \
-cleanDisabled="false" \
migrate \
-X
What did you expect to see?

To do logging for audit purpose and sanity check I want to append logs against each script
For this directory structure
image
I want to see logs something like :
image

What did you see instead?

Currently I can see all the logs on the console. That I can append only in Single file.

@Peter-Laws
Copy link

Thank you for the request ucguy4u

To help qualify the request I had an initial question please. As you're capturing the whole output, there will be some initial flyway output that's not script specific, would you envision that captured separately or just included in the first scripts output ideally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants