1.现象:使用log4cxx输出中文到日志,日志里显示"????"这样乱码
2.解决:重新编译,安装log4cxx,使用命令:
./configure --with-charset=utf-8 --with-logchar=utf-8
make && make install
1.现象:使用log4cxx输出中文到日志,日志里显示"????"这样乱码
2.解决:重新编译,安装log4cxx,使用命令:
./configure --with-charset=utf-8 --with-logchar=utf-8
make && make install