小编pgp*_*hon的帖子

使用Tomcat 7降低Eclipse WTP中的日志级别

我在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
Run Code Online (Sandbox Code Playgroud)

eclipse logging tomcat eclipse-wtp

7
推荐指数
3
解决办法
5769
查看次数

标签 统计

eclipse ×1

eclipse-wtp ×1

logging ×1

tomcat ×1