Sorry, I don't have time to go into the details, but you run everything at the debug level and apply filters to the appenders.
Cheers! Tom Hawker Home 408-274-4128 Office 408-576-6591 Mobile 408-835-3643 -----Original Message----- From: Thierry Lam [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 08:44 AM To: Log4CXX User Subject: Different level messages for console and logfile For the following given example of the documentation page: log4j.rootLogger=DEBUG, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout # Print the date in ISO 8601 format log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n # Print only messages of level WARN or above in the namespace com::foo. log4j.logger.com.foo=WARN Is it possible to print messages of a specific logger object of level WARN to the console and messages of level DEBUG of that same specific logger object to a logfile? If so, how do we do it? Thanks Thierry IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email. Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com.
