You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Raymond DeCampo <rd...@twcny.rr.com> on 2005/04/01 03:26:23 UTC

Re: DO NOT REPLY [Bug 31056] - (PATCH) Console appender doesn't notice changes to System.out/System.err

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


Re: DO NOT REPLY [Bug 31056] - (PATCH) Console appender doesn't notice changes to System.out/System.err

Posted by Raymond DeCampo <rd...@twcny.rr.com>.
Paul Smith wrote:
> 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.
> 

Thanks Paul, I'll keep an eye out for it.

Ray

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


Re: DO NOT REPLY [Bug 31056] - (PATCH) Console appender doesn't notice changes to System.out/System.err

Posted by Paul Smith <ps...@aconex.com>.
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