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 <jperkins> 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.