the logging in the latest jetty 8 releases is much like in 9 so I'll link that documentation
http://www.eclipse.org/jetty/documentation/current/configuring-logging.html cheers, jesse -- jesse mcconnell [email protected] On Wed, Apr 17, 2013 at 2:41 PM, Winsor, Daniel <[email protected]>wrote: > Hi, > > I am currently on jetty 7.2.0.RC0, run through the jetty-maven-plugin. > I'd like to upgrade to jetty 8.latest to be able to use servlet 3.0. > However, what I'm noticing is that with 7.2.0.RC0 I get some nice > debugging shown on my terminal, and with other versions, even other 7.x > versions, I'm not getting it. > The kind of debug output I see with 7.2.0.RC0 is like so: > org.mortbay.jetty.plugin.JettyServer@271bc503<mailto: > org.mortbay.jetty.plugin.JettyServer@271bc503> STOPPED > [email protected]<mailto:[email protected] > >:8080 > [email protected]<mailto:[email protected]>:8443 > +-qtp62871287{8<=5<=8/254,0} > +-HandlerCollection@c237b89<mailto:-HandlerCollection@c237b89> started > +-ContextHandlerCollection@6d836598<mailto: > -ContextHandlerCollection@6d836598> started > | +-JettyWebAppContext@17043b2f<mailto:-JettyWebAppContext@17043b2f > >@17043b2f/widgets,[file:/Users/dwinsor/previ > … a whole bunch more > > It tells me everything about what's on the classpath for certain contexts, > etc etc, so it's really helpful and I'd like to keep it around. > Strangely, these are the versions for which I get this kind of output > 8.1.10 no > 7.3.0.v20110203 no > 7.2.2 yes > 7.2.0.RC0 yes > 7.0.2.RC0 yes > 7.0.0.RC2 no > > I have seen https://bugs.eclipse.org/bugs/show_bug.cgi?id=333771 but I am > not sure if it's related, because I do not set any logging properties > within the jetty-maven-plugin. In fact, I'm not even sure how the logging > properties are handled at all. > I am using slf4j 1.7.5, and jetty 7.2.0.RC0 works with both slf4j 1.7.5 > and 1.5.9.RC0. > Transitive dependencies for the jetty-maven-plugin are: > [INFO] +- org.slf4j:slf4j-api:jar:1.7.5:compile > [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.5:compile > [INFO] | \- log4j:log4j:jar:1.2.14:compile (version managed from 1.2.17) > > I added a log4j.properties to src/main/resources with this: > > log4j.rootLogger = TRACE, A1 > > log4j.appender.A1=org.apache.log4j.ConsoleAppender > > And it still didn't help > > So my question, how can I enable the logging shown above for jetty 8.1.10? > > Thank you, > Daniel Winsor > Associate, IT Architecture > _______________________________________________ > 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
