tomcat异常输出
文件内容============================
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################
org.apache.juli.FileHandler.level = FINE org.apache.juli.FileHandler.directory = ${catalina.base}/logs org.apache.juli.FileHandler.prefix = error-debug.
java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
============================文件内容
然后保存文件为logging.properties,放在WEB-INF\Classes\源码包下,启动tomcat可以输出tomcat异常日志 |