[jboss-jira] [JBoss JIRA] (JGRP-1796) Fix flush problem with integration of commons-logging output

Richard Achmatowicz (JIRA) issues at jboss.org
Sun Feb 23 15:53:47 EST 2014


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

Richard Achmatowicz updated JGRP-1796:
--------------------------------------

    Description: 
The commons-logging output which appears in test case output files does not have line termination processed correctly. We end up with text like this:
{noformat}
120665 [TRACE] GMS: - A: no initial members discovered: creating group as first member120666 [DEBUG] GMS: - A: installing view [A|0] [A]120666 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
{noformat}
This makes reading the logging output hard to read.

We want it to look like this:
{noformat}
120665 [TRACE] GMS: - A: no initial members discovered: creating group as first member
120666 [DEBUG] GMS: - A: installing view [A|0] [A]
120666 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
{noformat}

Th solution is to implement flush() as a method which simply appends a null string with CR/LF applied as well to the current collected sysout and syserr.




  was:
The commons-logging output which appears in test case output files does not have line termination processed correctly. We end up with text like this:
{noformat}
{noformat}
This makes reading the logging output hard to read.

Th solution is to implement flush() as a method which simply appends a null string with CR/LF applied as well to the current collected sysout and syserr.





    
> Fix flush problem with integration of commons-logging output
> ------------------------------------------------------------
>
>                 Key: JGRP-1796
>                 URL: https://issues.jboss.org/browse/JGRP-1796
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.2.13
>            Reporter: Richard Achmatowicz
>            Assignee: Richard Achmatowicz
>            Priority: Minor
>             Fix For: 3.2.13
>
>
> The commons-logging output which appears in test case output files does not have line termination processed correctly. We end up with text like this:
> {noformat}
> 120665 [TRACE] GMS: - A: no initial members discovered: creating group as first member120666 [DEBUG] GMS: - A: installing view [A|0] [A]120666 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
> {noformat}
> This makes reading the logging output hard to read.
> We want it to look like this:
> {noformat}
> 120665 [TRACE] GMS: - A: no initial members discovered: creating group as first member
> 120666 [DEBUG] GMS: - A: installing view [A|0] [A]
> 120666 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
> {noformat}
> Th solution is to implement flush() as a method which simply appends a null string with CR/LF applied as well to the current collected sysout and syserr.

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