tags: Daily small problems tomcat intellij-idea Garbage code
Recently, I used idea to deploy the ssh project (non-maven). When I finally started tomcat in idea, the console was garbled. Although it had no actual impact, it looked very heart-wrenching.
Search for keywords,
Most of them are to modify the logging.properties file under tomcat's conf, and modify all UTF-8 to GBK.
However, after I modify it here, the other two garbled codes of the server have changed from normal server to the other two normal server. The server has garbled codes.
During the search, someone mentioned that this is related to two packages (or components).
One of them is Catalina and the other forgot, and then found the keyword in the logging.properties file based on the names of the two consoles.


So you only need to change the UTF-8 of these two items to GBK to ensure that the server, Tomcat Localhost Log and Tomcat Catalina Log can display Chinese normally
Prerequisite you are like me, server and the other two always have problems on one side, and no problems on the other side
Explain with TomCat Catalina Log picture here : Since I downloaded a Tomcat version apache-tomcat-8.5.38 from the Internet, because this Tomcat has not been used, the above garbled appeared when I sta...
Once all the garbage problem solving, cures all kinds acclimatized 1. First modify Tomcat Logging.properties find in your conf directory of tomcat As shown in FIG. 1 and 2 encoding the commented FIG T...
Before solving: Solution: 1. First find the logging.properties file under conf under the local tomcat file 2. Open the logging.properties file and modify the following two places: 3. After modificatio...
As shown in the figure, tomcat starts and the IDEA console appears: Solution: Find the logging.properties file in the conf directory in the tomcat installation directory, as follows, modify all UTF-8 ...
Tomcat 7.0 log garbled The server log is garbled when Tomcat starts (or garbled when it is opened directly using startup.bat) In the conf directory, open the logging.properties file with Notepad. modi...
Open the configuration file in the tomcat installation directoryconf/logging.properties , Will allGBKToUTF-8 Modify IDEA configuration properties HELP-> Edit Custom VM Options-> Add a line ->...
Server and Tomcat Catalina log Chinese show garbled, although it does not affect the use, but it is very uncomfortable. The following records a solution to garbled, is designed to provide guidance met...
tool: idea :2018 tomcat :8.5.39 According to Baidu's instructions, the main changes are as follows: 1. 2. 3. The catalina.sh file in the tomcat installation directory under the bin put Change to: 4.to...
IDEA running project, console Tomcat localhost log and catalina log output garbled Use text mode to open the Tomcat installation path in the CONF folderlogging.propertiesfile In the textencodingPost-o...
There are many ways to find on the Internet, whether it is to change the tomcat configuration file or the idea configuration file, it has not been resolved, and later solved it by myself, share the me...