Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Debug-level logging

Greetings,

If you are using Log4j, you need to configure the root logger in your log4j configuration file to use debug level. Please see http://logging.apache.org/log4j/1.2/manual.html#Configuration for more information.

Cheers,
Michael

On Thu, Apr 28, 2011 at 10:12 AM, Mark Payne <mark.payne@xxxxxxxxxxx> wrote:
An issue I have been having while working with Jetty embedded is that I haven't been able to get any debug-level log output. I have
slf4j-log4j12-1.5.8.jar and a log4j jar on the classpath so I would expect to see it use log4j, and indeed I see output like:

INFO [main] (Slf4jLog.java:55) - jetty-7.1.6.v20100715

which comes from the main Server class.

But I never see any DEBUG level  output. Looking at the documentation here

http://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7

I thought maybe starting the jvm with java -Dorg.eclipse.jetty.util.log.DEBUG=true would be the solution, but apparently not. Can anyone tell me what I need to do?

Thanks,

Mark


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top