Community
Participate
Working Groups
Build Identifier: I20100921-1024 When an eclipse application is launched that uses the Jetty bundle, a verbouse debug is printed on the console. Couldn't find a way to turn it off. Example: 10:55:41.531 [Start Level Event Dispatcher] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog 10:55:41.578 [Start Level Event Dispatcher] DEBUG org.mortbay.log - Container Server@1ec3c6d + SelectChannelConnector@0.0.0.0:80 as connector 10:55:41.625 [Start Level Event Dispatcher] DEBUG org.mortbay.log - filterNameMap=null 10:55:41.625 [Start Level Event Dispatcher] DEBUG org.mortbay.log - pathFilters=null 10:55:41.625 [Start Level Event Dispatcher] DEBUG org.mortbay.log - servletFilterMap=null Reproducible: Always Steps to Reproduce: 1. Create an eclipse application that uses Jetty as HTTP server 2. Run the application 3. Make a request to Jetty HTTP server
Probably related to the issue: When "Validate Plug-ins" is invoked on the run configuration for the application, the following problem is displayed: org.slf4j.api Missing Constraint: Require-Capability: generic; filter="(&(generic=org.slf4j.impl.StaticLoggerBinder)(&(generic=org.slf4j.impl.StaticLoggerBinder)(&(generic=org.slf4j.impl.StaticLoggerBinder)(&(version>=1.5.5)(!(version>=1.5.12))))))"
I'm not sure the first line can be turned off without setting up the logger specially - but the debugs should not be there unless debug is turned on
switching this to osgi component
This is affecting the jetty-6 version with the packaging of jetty made by equinox. Also comment #2 shows an installation specific issue: equinox uses commons-logging I beleive and when jetty is used within a set of equinox features, I think the logging framework is correctly setup. Felis do you still have the issue? We can help you with some general knowledge about commons-logging, slf4j in equinox, equinox and and how jetty-6 is packaged there.
I don't see these debugs any more, thank you.