java - How do I turn off DBUG level logging in BayeuxServer (embedded in Jetty)? -
when running cometd bayeux implementation in jetty (7.1.5), lots of dbug
level logging output console. i've identified logger org.eclipse.jetty.util.log.stderrlog
instance, i'm not sure how configure it.
i'm using jetty embedded within application, tried things suggested @ http://docs.codehaus.org/display/jetty/debugging ("with jetty embedded" section), had no success.
at moment i'm running app |& grep -v dbug
, that's annoying. know how configure type of logger?
finally tracked down how set debug level. cometdservlet
created , added context, can set loglevel
init parameter on servletholder
appropriate level (anything 3 or greater includes debug).
servletholder comet = context.addservlet( cometdservlet.class, "/cometd/*" ); comet.setinitparameter( "loglevel", 2 );
Comments
Post a Comment