logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <psm...@aconex.com>
Subject Re: DO NOT REPLY [Bug 31056] - (PATCH) Console appender doesn't notice changes to System.out/System.err
Date Mon, 04 Apr 2005 22:33:45 GMT
I have read this report and the proposed patch.  I am sympathetic to the 
problem, but something doesn't feel quite right yet, and I'm still 
mulling it over in my brain.

The company I work for has just moved offices, and so we're a bit all 
over the place at the moment, so I haven't had much thinking time to 
really get around to this.

I'll let you know my thoughts eventually though, I promise.

cheers,

Paul

Raymond DeCampo wrote:

> bugzilla@apache.org wrote:
>
>> ------- Additional Comments From rdecampo@twcny.rr.com  2005-03-28 
>> 01:13 -------
>> This bug causes lost output when log4j, ANT and JUnit are used to run 
>> tests.
>>
>> Since the ANT <junit> task captures System.out and System.err in its 
>> XML result
>> files, the best way to keep the logging statements and test results 
>> together is
>> to configure log4j to use the ConsoleAppender and write to 
>> System.out. Unfortunately, if the <junit> task is forked, System.out 
>> is reset after log4j is
>> configured and the logging statements are not captured.
>>
>> There appears to have been no activity on this bug sine Erik 
>> submitted it over
>> six months ago.  If someone could adopt this bug and apply Erik's 
>> patch, that
>> would be great.  If Erik's patch is in some way deficient, I'll 
>> volunteer to fix
>> the issues if I get reasonable assurance that the resulting patch 
>> will be applied.
>>
>
> Seriously, any takers from the committers?
>
> Thanks,
> Ray
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message