mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 22:18:11 -05:00
Force log file encoding to UTF-8
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1224 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
13fb24d478
commit
88c92d6a06
@ -246,6 +246,7 @@ public final class Settings {
|
||||
fileAppender.setName("FileAppender");
|
||||
fileAppender.setMaxBackupIndex(2);
|
||||
fileAppender.setMaxFileSize(logFileSize);
|
||||
fileAppender.setEncoding("UTF-8");
|
||||
fileAppender.setLayout(new PatternLayout("%d{ISO8601} %-5p [%t] %c %x - %m%n"));
|
||||
}
|
||||
fileAppender.setFile(logFilePath, true, false, 8192);
|
||||
|
Loading…
Reference in New Issue
Block a user