Solve the problem that the console is garbled when IDEA starts tomcat

1. Modify the conf directory of tomcatlogging.propertiesfile

2. Modify this line:

java.util.logging.ConsoleHandler.encoding = GBK

Normally display Chinese after completion:

Guess you like

Origin www.cnblogs.com/codezpc/p/12692948.html