logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enthucoder <sriharsha.chev...@wachovia.com>
Subject Newbie help: Capturing Stdout and Stderr into log4j
Date Wed, 28 Nov 2007 22:45:45 GMT


I am relatively new to log4j. Can anybody help me guiding towards the best
practice to achieve following?

1.) How would i capture the Std out messages into log4j? (or is it anything
different than just embedding messages one wants to print into logger....()

2.) Also there would be some exceptions or errors (would be the right term I
guess) which are unexpected like NullPointerException etc, which usually
leaked. How would one go about capturing these? 

Thanks in advance.
View this message in context: http://www.nabble.com/Newbie-help%3A-Capturing-Stdout-and-Stderr-into-log4j-tf4893246.html#a14013050
Sent from the Log4j - Users mailing list archive at Nabble.com.

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

View raw message