RE: Logging from Stream

2004-10-21 Thread Alexander,D
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 librar

Logging from Stream

2004-10-21 Thread Alexander,D
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 log