Solve the problem of Tomcat10 Catalina log garbled characters

Solve the problem of Tomcat10 Catalina log garbled characters

Running environment, Idea2020 version, Tomcat10, garbled characters appear in Tomcat CatalinaLog console when running

You need to modify the configuration file D:\apache-tomcat\apache-tomcat-10.0.0-M9\conf\logging.properties in Tomcat

Found 1 catalina.org.apache.juli.AsyncFileHandler.encoding = utf-8

Modified to

1catalina.org.apache.juli.AsyncFileHandler.encoding = GBK

After the modification, restart Tomcat and the running result will be fine.

This is the end of this article about solving the Tomcat10 Catalina log garbled problem. For more related Tomcat Catalina log garbled content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Tomcat uses Log4j to output catalina.out log
  • Detailed explanation of three ways to cut catalina.out logs in tomcat
  • Detailed analysis of catalina.bat principle in Tomcat
  • Parsing Tomcat's startup script--catalina.bat
  • Tomcat log rotation (logrotate) detailed introduction

<<:  Install nodejs and yarn and configure Taobao source process record

>>:  Solution to Navicat Premier remote connection to MySQL error 10038

Recommend

Solution to Chinese garbled characters when operating MySQL database in CMD

I searched on Baidu. . Some people say to use the...

Use the CSS border-radius property to set the arc

Phenomenon: Change the div into a circle, ellipse...

Detailed explanation of how to exit Docker container without closing it

After entering the Docker container, if you exit ...

Solution to index failure caused by MySQL implicit type conversion

Table of contents question Reproduction Implicit ...

Vue implements two-way data binding

This article example shares the specific code of ...

Use auto.js to realize the automatic daily check-in function

Use auto.js to automate daily check-in Due to the...

Detailed steps to implement the Excel import function in Vue

1. Front-end-led implementation steps The first s...

WeChat applet implements fixed header and list table components

Table of contents need: Function Points Rendering...

Examples and comparison of 3 methods for deduplication of JS object arrays

Table of contents 1. Comparison of data before an...

What do CN2, GIA, CIA, BGP and IPLC mean?

What is CN2 line? CN2 stands for China Telecom Ne...

Detailed explanation of MySQL user and permission management

This article uses examples to describe the manage...

Sample code for implementing the Olympic rings with pure HTML+CSS

Rendering Code - Take the blue and yellow rings a...

Briefly describe the four transaction isolation levels of MySql

Isolation Level: Isolation is more complicated th...