Hello, It looks like ConsoleAppender parses but ignores the "encoding" parameter. Below is the patch to ConsoleAppender.java that makes ConsoleAppender to use correct encoding. Could this make it into the next release of log4j ?
BR --Sergey Petrunia --- ConsoleAppender.java 2002-11-06 23:29:12.000000000 +0300 +++ ConsoleAppender.java 2002-10-09 23:43:50.000000000 +0400 @@ -38,9 +38,9 @@ 41c41 < setWriter(createWriter(System.out)); --- > setWriter(new OutputStreamWriter(System.out)); 43c43 < setWriter(createWriter(System.err)); --- > setWriter(new OutputStreamWriter(System.err)); 86c86 < setWriter(createWriter(System.out)); --- > setWriter(new OutputStreamWriter(System.out)); 88c88 < setWriter(createWriter(System.err)); --- > setWriter(new OutputStreamWriter(System.err)); -- To unsubscribe, e-mail: <mailto:log4j-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:log4j-dev-help@;jakarta.apache.org>