Ignore this. I've got it working now.

Cheers,
Derek

> -----Original Message-----
> From: Alexander,D 
> Sent: 21 October 2004 11:17
> To: Log4J Users List
> Subject: Logging from Stream
> 
> 
> Hi,
> 
> I want to direct the debug info from they JavaMail library to log4j.
> 
> By default it goes to System.out but there is a method to set 
> an alternative PrintStream for this debug output.
> 
> What I'm wondering is how to implement a PrintStream that can 
> write each line written to it to one of the logger methods.
> 
> Any help would be appreciated.
> 
> Thanks,
> Derek
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to