Red Hat Bugzilla – Bug 994699
Setting a null encoding on a OutputStreamHandler that uses setWriter sets the writer to null too
Last modified: 2014-10-25 08:36:59 EDT
An example is the ConsoleHandler. Using a target of CONSOLE uses the setWriter(wrap(System.console())) which sets the outputStream to null. The setEncoding() uses the outputStream then sets the writer. Since the outputStream is null due to the setWriter() being invoked, the writer is then set to null so no output is being written.
https://github.com/jboss-logging/jboss-logmanager/pull/34 sent to jboss-logmanager
James Perkins <email@example.com> made a comment on jira LOGMGR-78
Pull request merged
This issue is reported against older version and cannot be reproduced against latest 6.3.0. bits, which means it was fixed earlier. Therefore, we are closing this bug. Thank you for reporting this issue.