Quarkus logging programatically #32190
ayushdgupta
started this conversation in
Community
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 we can change the format of our logs programatically? right now i am using below property
quarkus.log.console.format={"time":"%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ}", "level":"%p", "logger":"%c{1.}", "thread":"%t", "key1":"%X{key1}", "key2":"%X{key2}", "message":"%s"}%n
in Spring boot we generally use log4j2-api and log4j2-core but quarkus does n't support log4j2-core so we can n't use Patternlayout and all other stuff that we use in spring boot so we need to go with jboss-lagmanager.
So How we can achieve this in quarkus?
Beta Was this translation helpful? Give feedback.
All reactions