【发布时间】:2013-01-07 01:42:19
【问题描述】:
我在 Eclipse WTP (Juno) 中运行 Tomcat 7,我似乎无法调低日志记录级别。它记录了调试中的所有内容,这些内容太冗长而无法使用(我希望它从 INFO 中记录)。 logging.properties 文件如下:
handlers = java.util.logging.ConsoleHandler
.handlers = java.util.logging.ConsoleHandler
.level=INFO
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
【问题讨论】:
-
您解决了这个问题吗?我的 eclipse + wtp 也有同样的问题 ...
标签: eclipse tomcat logging eclipse-wtp