Chris,

No, log4j does not save System.out. Ceki

At 08:30 17.11.2001 -0800, you wrote:
>I did look before I posted, but it didn't solve my problem.
>I wonder if you could tell me, is log4j statically saving System.out in 
>the ConsoleAppender, so that when System.out is redefined in 
>Ant's JUnitTestRunner class, that change doesn't show up in 
>the log4j ConsoleAppender??
>Thanks,
>-- Chris
>
> -----Original Message-----
> From: Ceki Gulcu [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 16, 2001 7:21 PM
> To: Log4J Users List
> Subject: Re: log4j + JUnit + ANt1.4
> 
> 
> 
> Chris,
> 
> Someone mentioned that the latest JUnit 3.7+ changed its 
> classloading scheme. Do have a look at earlier posts and 
> whether the problem was solved or not. I suggest that you post 
> on the ANT and JUnit lists whether the developers there are 
> aware of the problem.  
> 
> Anyway, what is the exact problem? Is it a configuration 
> problem or a problem with the console? Regards, Ceki
> 
> At 17:40 16.11.2001 -0500, you wrote:
> >Greetings,
> >I am trying to get the junit task in Ant1.4 to run properly 
> with log4j. Has anyone else been successful with this??
> >If I print to System.out in my JUnit Tests, the output is 
> properly created. But when I use log4j to a ConsoleAppender, it is not.
> >I am using the withOutAndErr switch in Ant.
> > 
> >I think that log4j might be statically saving System.out in 
> the ConsoleAppender, so that when System.out is redefined in 
> Ant's JUnitTestRunner class, that change doesn't show up in 
> the log4j ConsoleAppender?? Is that true?? 
> > 
> >Anyone have any other ideas??
> >Thanks,
> >-- Chris
> >
> >Chris Berry  --- [EMAIL PROTECTED]  -- 512-323-9479 
> > 
> >--
> >To unsubscribe, e-mail:   
> <mailto:log4j-user- [EMAIL PROTECTED]>
> >For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:log4j-user- [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to