[undertow-dev] Configuring log levels

Carter Kozak ckozak at ckozak.net
Fri Mar 1 13:24:41 EST 2019


jboss-logging, much like slf4j, is a logging API which may be configured for other backends. If you have log4j2, logback, or log4j on your classpath jboss-logging should delegate to it, and configuration is handled by the logging implementation the same way you would configure it for the rest of the application.

-ck

On Fri, Mar 1, 2019, at 12:42, Sugat Poudel wrote:
> Hello all,
> 
> I noticed that the UndertowLogger is using the jboss logging classes. What is the best
> way to configure log levels as it seems to be defaulting to DEBUG. I couldn’t find any specific documentation online and most were suggesting using a properties file. 
> 
> Ideally, I would like to configure the levels in code so that we can change log levels in production without having to restart the server.
> 
> — Sugat
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev



More information about the undertow-dev mailing list