Hi Tim, If you log to loggers that are named after the classes you're logging from (which is the most common convention for naming loggers), you can simply use three different file appenders that you attach to the loggers corresponding to your classes. This is basic log4j, have a read through http://logging.apache.org/log4j/docs/manual.html (short introduction to log4j) if you don't understand what I mean.
Good luck, Eelke -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tim B Sent: dinsdag 19 december 2006 3:14 To: [email protected] Subject: logging to different files depending on class I would like to send my logging output to different log files from 3 different java classes, all in the same package. Would someone please point me to where I can find info/examples of how to do this? Thanks, TimB --------------------------------------------------------------------- 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]
