I've recently used embedded Jetty 7.5.0-SNAPSHOT with slf4j v1.6.1 and logback v0.9.27 and it was working for me. I would suggest that you first get the standalone Jetty configuration working so that you can make sure you have correct configuration, and then attempt to do it with maven plugin. If you run standalone Jetty using command 'java -jar start.jar DEBUG=true' it will output a lot of additional information that should help you diagnose the problem.
The same can be achieved by setting 'MAVEN_OPTS=-Dorg.eclipse.jetty.util.log.DEBUG=true' when running with maven plugin. The most likely cause of the issues you are experiencing is that slf4j and/or logback is not being added to the classpath, that could be caused by choosing an incorrect dependency scope. You could also ran Maven with option -X that will output extended information about artifacts and plugin execution that may be helpful in determining the cause of the issue. On Wed, Aug 24, 2011 at 11:26 AM, cowwoc <[email protected]> wrote: > > Michael Gorovoy wrote: > > > > You also need to add some logging implementation, e.g. logback, in > > addition > > to slf4j in order to enable logging via slf4j, and configure it as > needed. > > > > -Michael > > > > On Wed, Aug 24, 2011 at 9:36 AM, cowwoc <[email protected]> > > wrote: > > > >> 2. I've added slf4j to the project POM > >> 3. I've set logging level to TRACE > >> 4. Jetty never logs to slf4j. > >> 5. If I add -Dorg.eclipse.jetty.util.log.DEBUG=true to MAVEN_OPTS, Jetty > >> seem to log to stderr instead of slf4j. > >> > > > > _______________________________________________ > > jetty-users mailing list > > [email protected] > > https://dev.eclipse.org/mailman/listinfo/jetty-users > > > > Hi Michael, > > I neglected to mention: I've already included logback-classic-0.9.29.jar as > a project dependency. Any other ideas? I've also tried running Jetty using > main() and it still doesn't pick up logback. Now that I have direct API > access using main(), are there any methods I can invoke to find out why > Jetty is ignoring logback? > > Thanks, > Gili > > -- > View this message in context: > http://jetty.1047016.n5.nabble.com/Unexpected-delay-after-each-HTTP-response-tp4728842p4730809.html > Sent from the jetty-users mailing list archive at Nabble.com. > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
