The short manual I believe covers enough to answer this too. http://jakarta.apache.org/log4j/docs/manual.html
But I whole-heartedly agree, and I've bought the manual too. It's excellent. Everyone using Log4j should purchase it. Most of the questions in this list are answered in the manual. -----Original Message----- From: Charles Hudak [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:38 PM To: 'Log4J Users List' Subject: RE: filter some class to one file, different class to another fil e Support Ceki and buy the manual. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 13:37 To: [EMAIL PROTECTED] Subject: filter some class to one file, different class to another file Hello, I'm new to configuring my log4j.xml file, and have been searching the log4j-user mail archives for something relevant... please help! I would like my appender to write to a file, such that only certain java packages get written out, others get written to a different file. For example, I want every log message from any package "com.nokia.nes.ans" and any package in the heirarchy below it. I do NOT want stuff from "org.jboss" or "com.nokia.somethingelse" written to this log file. How would I configure this in the log4j.xml file? Thanks, Gretel --------------------------------------------------------------------- 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] ------------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions USA, Inc. and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]