Quarkus log level INFO in console and DEBUG in file #25270
Unanswered
oliviercailloux
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I tell Quarkus to log only messages with severity levels at least INFO in the console (to keep it clean) but log every messages with severity level at least DEBUG in a file?
The obvious solution does not seem to work, for a reason that I fail to understand. That is, configuring things in
application.properties
:Here is an example application that produces the behavior that I described. Make sure you are in the branch
logs
and runmvn clean quarkus:dev
to see it. Maven prints DEBUG logs to the console, for example,2022-03-31 19:02:58,115 DEBUG [org.jbo.threads] (main) JBoss Threads version 3.4.2.Final
.Using Quarkus 2.7.5.Final.
Asked here. Someone there gave me the dreaded “works for me” answer. How can I investigate why it fails for me?
Beta Was this translation helpful? Give feedback.
All reactions