how to change log4j log file to utf8

前端 未结 1 771
陌清茗
陌清茗 2021-02-19 01:32

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 02:02

    It should be:

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