Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty 8 OSGi and logging

Hi all,

I'm working on a new platform based on Juno/3.8 and Jetty 8.  I've got a tycho build that works with a demo web app working.  The one thing I can't do is control the log output, I am getting this continually:

22:09:18.971 [Scanner-0] DEBUG org.eclipse.jetty.util.Scanner - scanned [/Users/cching/dev/tycho-tests/jetty-test/webapp.product/target/products/webapp/macosx/cocoa/x86_64/webapps]: {}
22:09:19.982 [Scanner-0] DEBUG org.eclipse.jetty.util.Scanner - scanned [/Users/cching/dev/tycho-tests/jetty-test/webapp.product/target/products/webapp/macosx/cocoa/x86_64/webapps]: {}

Presumably it's because Jetty is logging at DEBUG level by default.  So I'm trying to figure out how to control logging, eclipse/equinox 3.8 uses logback pretty heavily so I figured that was probably the way to go (we currently use pax-logging, but that hasn't been working so well for us).  I found this page:

http://wiki.eclipse.org/Jetty/Feature/Jetty_OSGi#Centralized_logging_support_with_slf4j_and_logback-classic

But I can't find the bundle 'org.eclipse.jetty.osgi.logback' in the p2 repository for jetty 8.  Is this information still relevant?

Thanks for any help!

Cheers,
Craig

Back to the top