I use TeamCity for continious integration. Solution checkouts on deploy machine and builds. Deploy machine running under Windows Server 2008 R2 – Russian. There are russian language PowerShell installed etc. In TeamCity build log, all russian symbols are in wrong encoding.
How to change encoding in build log?
change encoding for log4j configuration for build log in
conf/teamcity-agent-log4j.xmladd file.encoding=UTF-8 parameter
launcher/conf/wrapper.confthat uses agent on startyou should add it like that
add
-Dfile.encoding=UTF-8inJAVA_OPTSthat steps helps me but now i have a bug – if you watching tail new Russian symbols in log replaced by “?”. after refreshing the page they shown correct.