Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Jetty Migration Issur

On 10.9.2015. 18:49, Arun Kumar wrote:
Thanks for the reply. I'm using *slf4j-log4j12-1.6.6.jar* ,
*slf4j-api-1.6.6.jar* and *log4j1.2.7* for logging.
How to change log level from DEBUG to INFO of org.eclipse.Jetty in jetty9.

In your log4j properties file, specify something like this:
some.package.goes.here=LEVEL

Package can be any package, any number of levels deep.
LEVEL is valid debug level

So, solution to force Jetty to display only INFO lines would be something like this:
org.eclipse.jetty=INFO

P.S. keep in mind that if jetty internally uses some library that has different package, that library will not be affected by the upper setting, so you might want to add some more definitions, depending on needs.

--
bbabic(a)globalnet.hr
2b||!2b?


Back to the top