[jboss-jira] [JBoss JIRA] (LOGMGR-78) Setting an encoding on a OutputStreamHandler that uses setWriter sets the writer to null too

James Perkins (JIRA) jira-events at lists.jboss.org
Wed Aug 7 15:27:26 EDT 2013


     [ https://issues.jboss.org/browse/LOGMGR-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated LOGMGR-78:
--------------------------------

    Fix Version/s: 1.5.0.Beta2

    
> Setting an encoding on a OutputStreamHandler that uses setWriter sets the writer to null too
> --------------------------------------------------------------------------------------------
>
>                 Key: LOGMGR-78
>                 URL: https://issues.jboss.org/browse/LOGMGR-78
>             Project: JBoss Log Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 1.5.0.Beta2
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list