Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter

1catalina.org.apache.juli.AsyncFileHandler.formatter

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第1张图片

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第2张图片

1catalina.org.apache.juli.AsyncFileHandler.formatter= java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format =%1$tY-%1$tm-%1$td  %1$tH:%1$tM:%1$tS.%1$tL  [%4$s] [%3$s] %2$s %5$s %6$s%n

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第3张图片

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第4张图片

批处理执行是可以了

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第5张图片

========

但是eclipse上还是不行

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第6张图片

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第7张图片

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第8张图片

修改配置路径

Tomcat Log Time Format :1catalina.org.apache.juli.AsyncFileHandler.formatter_第9张图片

你可能感兴趣的:(tomcat,tomcat,apache)