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

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Aug 20 03:17:32 EDT 2014


    [ https://issues.jboss.org/browse/LOGMGR-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994201#comment-12994201 ] 

RH Bugzilla Integration commented on LOGMGR-78:
-----------------------------------------------

Nikoleta Ziakova <nziakova at redhat.com> changed the Status of [bug 994699|https://bugzilla.redhat.com/show_bug.cgi?id=994699] from NEW to CLOSED

> 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: Emmanuel Hugonnet
>             Fix For: 1.5.0.Final
>
>
> 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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list