1、找到本地电脑Tomcat的安装路径,示例:我的存放在D:\Java\JavaPlugin\apache-tomcat-8.5.51-windows-x64\apache-tomcat-8.5.51\conf下,如图所示:
2、然后打开conf下的logging.properties配置文件:如图所示:
** 修改前:**
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
java.util.logging.ConsoleHandler.encoding =UTF-8
**修改前:**
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
java.util.logging.ConsoleHandler.encoding = GBK
**