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

A brief discussion on what situations in MySQL will cause index failure

Here are some tips from training institutions and...

WeChat applet realizes the nine-square grid effect

This article shares the specific code for the WeC...

An article to understand what is MySQL Index Pushdown (ICP)

Table of contents 1. Introduction 2. Principle II...

Implement QR code scanning function through Vue

hint This plug-in can only be accessed under the ...

Detailed method of using goaccess to analyze nginx logs

Recently I want to use goaccess to analyze nginx ...

Vue implements a small countdown function

Countdown function needs to be implemented in man...

Example of how to create a local user in mysql and grant database permissions

Preface When you install MySQL, you usually creat...

MySQL data loss troubleshooting case

Table of contents Preface On-site investigation C...

How to use negative margin technology to achieve average layout in CSS

We usually use float layout to solve the compatib...

Use Docker to run multiple PHP versions on the server

PHP7 has been out for quite some time, and it is ...

Processing ideas for decrypting WeChat applet packages on PC in node.js

Table of contents Where is the source code of the...

MySQL json format data query operation

The default table name is base_data and the json ...

Notes on using the blockquote tag

<br />Semanticization cannot be explained in...