how to change log4j log file to utf8

前端 未结 1 737
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 01:16

I have been handed a code which uses log4j as the logger application. How can I generate a UTF8 logging file for it?. The logfile being created by log4j is in ASCII format at th

相关标签:
1条回答
  • 2021-02-19 01:59

    It should be:

        log4j.appender.FILE.encoding=UTF-8
    
    0 讨论(0)
提交回复
热议问题