I am trying to embed Jetty 6.1 in another program. Jetty is dumping INFO-log information and I need to turn it off. Is there a simple way to disable logging programmaticaly?
Set the StdErrLog level to WARN, before starting your server:
StdErrLog
WARN
Properties p = new Properties(); p.setProperty("org.eclipse.jetty.LEVEL", "WARN"); org.eclipse.jetty.util.log.StdErrLog.setProperties(p);