乱码的地方
解决
打开Tomcat安装路径的tomcat/conf/目录下的修改logging.properties
Output乱码解决
找到java.util.logging.ConsoleHandler.encoding = UTF-8
将其注释掉
#java.util.logging.ConsoleHandler.encoding = UTF-8
或者将UTF-8改为GBK
java.util.logging.ConsoleHandler.encoding = GBK
Tomcat Localhost Log 乱码解决
找到localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8
将其注释掉
#localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8
或者将UTF-8改为GBK
localhost.org.apache.juli.AsyncFileHandler.encoding = GBK
Tomcat Catania Log 乱码解决
找到catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8
将其注释掉
#catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8
或者将UTF-8改为GBK
catalina.org.apache.juli.AsyncFileHandler.encoding = GBK