You can make one appender "inherit" from another appender using a specific naming convention. The two files is not a problem since each appender will append to its own file. This is a DOMConfigurator example, but I think the same holds for properties (Can someone verify?). <appender name="A" class="org.apache.log4j.FileAppender"> <param name="File" value="A.log"/> <param name="Append" value="true"/> <param name="ImmediateFlush" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c %x - %m%n"/> </layout> </appender> <appender name="A.B" class="org.apache.log4j.FileAppender"> <param name="File" value="B.log"/> <param name="Append" value="true"/> <param name="ImmediateFlush" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c %x - %m%n"/> </layout> </appender> So, anything you log to B will go to A. -----Original Message----- From: Arun Jannela [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 5:54 AM To: Log4J Users List Subject: log4j Hi, How can I add two appennders and two log files for the same JSP file. Regards, Arun Jannela This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>