设置tomcat生成的日志文件编码utf-8,修改conf/logging.properties,添加编码设置1catalina.org.apache.juli.AsyncFileHandler.level = FINE1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.1catalina.org.apache.juli.AsyncFileHandler.maxDays = 901catalina.org.apache.juli.AsyncFileHandler.encoding=UTF-82locallosthos.org.apache.juli.AsyncFileHandler.level = FINE2localhosthost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs2localhosthost.org.apache.juli.AsyncFileHandler.prefix = localhost.2localhosthost.org.apache.juli.AsyncFileHandler.maxDays = 902localosthoshost.org.apache.juli.AsyncFileHandler.encoding=UTF-83manager.org.apache.juli.AsyncFileHandler.level = FINE3manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs3manager.org.apache.juli.AsyncFileHandler.prefix = manager.3manager.org.apache.juli.AsyncFileHandler.maxDays = 903mananger.org.apache.juli.AsyncFileHandler.encoding=UTF-84host-manager.org.apache.juli.AsyncFileHandler.level = FINE4host-manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 904host-manager.org.apache.juli.AsyncFileHandler.encoding=UTF-8java.util.logging.ConsoleHandler.level = FINEjava.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatterjava.util.logging.ConsoleHandler.encoding=UTF-8