参考:https://blog.csdn.net/zhaoxny/article/details/79926333
1、找到${CATALINA_HOME}/conf/logging.properties
2、添加语句:java.util.logging.ConsoleHandler.encoding = GBK
3、重启tomcat,查看日志数据即可!
参考:https://blog.csdn.net/zhaoxny/article/details/79926333
1、找到${CATALINA_HOME}/conf/logging.properties
2、添加语句:java.util.logging.ConsoleHandler.encoding = GBK
3、重启tomcat,查看日志数据即可!
转载于:https://www.cnblogs.com/yang101/p/11316677.html