-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus.log.min-level
doesn't overwrite quarkus.log.level
#20066
Comments
This could be a bug in the original feature when handling
|
PR sent: #20373 |
geoand
pushed a commit
to geoand/quarkus
that referenced
this issue
Sep 28, 2021
(cherry picked from commit 190df7e)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Dec 1, 2021
(cherry picked from commit 190df7e)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Dec 1, 2021
(cherry picked from commit 190df7e)
This was referenced Jan 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
According to the Doc:
There are two logging level settings: logging level and minimum logging level. The default logging level is INFO, the default minimum logging level is DEBUG. You can adjust both either globally, using the quarkus.log.level and quarkus.log.min-level property, or by category.
When you set the logging level below the minimum logging level, you must adjust the minimum logging level as well. Otherwise, the value of minimum logging level overrides the logging level.
However, If I set
quarkus.log.min-level
toFATAL
, I am still loggingINFO
traces.Expected behavior:
For a given application with the following traces:
And the configuration:
I will expect to see the following traces:
Because of this Doc ref:
When you set the logging level below the minimum logging level, you must adjust the minimum logging level as well. Otherwise, **the value of minimum logging level overrides the logging level.**
But I got these traces:
Quarkus Version: upstream
Reproducer: https://github.com/pjgg/quarkus-test-suite/blob/feat/logMinLevel/logging/jboss/src/test/java/io/quarkus/ts/logging/jboss/LogResourceIT.java#L78
Test cmd:
mvn clean verify -pl logging/jboss
The text was updated successfully, but these errors were encountered: