开发者

Disable jettys debug output in (html)Unit Tests

i use Jetty (v.6.1.25) in a Unit Test(more specific: htmlUnit) to test开发者_StackOverflow Servlets,Filters and something like. And I don't will see all the debug output in console. I've found something like:

System.setProperty("org.mortbay.log.DEBUG","false");

..but it doesn't work for me. Is there a simple way to say: "be quiet"? (Of course errors i must see :) )


Use the command line to hide the debug output:

java -jar start.jar etc/jetty-logging.xml

and route it to a rolling log file.

References

  • Jetty Logging
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜