Jetty: how to disable logging?

前端 未结 7 1881
隐瞒了意图╮
隐瞒了意图╮ 2020-12-30 02:35

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?

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 02:52

    In Jetty Embedded you can try: org.mortbay.log.Log.setLog(null); Before call Server.

提交回复
热议问题