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

Build/CI: pass test.log.level via CommandLineArgumentProvider and populate Quarkus console log level #6725

Merged
merged 2 commits into from
May 2, 2023

Conversation

snazy
Copy link
Member

@snazy snazy commented May 2, 2023

Allows passing for example -Dtest.log.level=DEBUG on the Gradle command line and all relevant logging configs use this value as well.

Using a CommandLineArgumentProvider prevents the log-level setting from influencing the Gradle cache.

dimas-b
dimas-b previously approved these changes May 2, 2023
@snazy snazy force-pushed the test-log-level branch from 3bdab73 to 9ceb871 Compare May 2, 2023 14:32
snazy added 2 commits May 2, 2023 16:55
… populate quarkus console log level

Allows passing for example `-Dtest.log.level=DEBUG` on the Gradle command line and all relevant logging configs use this value as well.

Using a `CommandLineArgumentProvider` prevents the log-level setting from influencing the Gradle cache.
@snazy
Copy link
Member Author

snazy commented May 2, 2023

Okay - the initial change was too aggressive. Have to leave Quarkus log level at least at INFO - otherwise Quarkus LauncherUtil` won't recognize a successful startup.

@snazy snazy merged commit dd85a0b into projectnessie:main May 2, 2023
@snazy snazy deleted the test-log-level branch May 2, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants