Idea control log Chinese display station garbled solution

Just like this Chinese garbled.
Insert picture description here
This is because of tomcat, you need to modify the configuration file of logging.properties in your local tomcat. As shown in the figure below:
1. Find your configuration file
Insert picture description here

2. Modify the configuration file
Insert picture description here
Insert picture description here
and save, rewrite and run your project, and you will find
Insert picture description here
that it is normal now, and Chinese characters are not garbled.

Guess you like

Origin blog.csdn.net/qq_49249150/article/details/108884762