IntelliJ

[IntelliJ] tomcat 한글 로그 깨짐

지니지니하지니 2024. 12. 23. 11:13

IntelliJ에서 톰캣 한글 로그가 깨질 경우 아래와 같이 설정해 주면 됩니다.

 

1. File Encodings 설정

Settings -> Editor -> File Encodings 에서 Global Encoding과 Project Encoding 을 UTF-8 로 설정해주면 됩니다.

(이 과정을 진행했는데도 로그가 깨진다면 2번도 추가적으로 진행해주세요)

 

 

2. VM options 설정

help -> Edit Custom VM options에 Encoding 관련 내용 추가

-Dfile.encoding=UTF-8
-Dconsole.encoding=UTF-8