idea tomcat server running the print log to the console is garbled solution

 

1, online tried many ways to add startup parameters, what -Dfile.encoding = utf8 and so useless.

2, and finally revised in tomcat-conf-logger.properties

 

I start utf-8, so I changed it to gbk, reboot just fine. But it is strange to my idea-setting the file encoding of each parameter are utf-8's. Although the final settlement came but really do not know what is going on. There is no way explain the reasons Gangster

 

Guess you like

Origin www.cnblogs.com/renjiaqi/p/11071841.html