log4j乱码问题

需要在log4j的配置文件中设置编码格式

如果代码为gbk格式,则需要添加
log4j.appender.stdout.encoding=GBK

原文地址:https://www.cnblogs.com/glorey/p/3076577.html