On Mon, 18 May 2009, Jonathan Swartz wrote: > Is it possible to log a category to two appenders, but at different > levels? e.g. > > log4perl.logger.Foo = INFO, appender1 > log4perl.logger.Foo = DEBUG, appender2 > # Define appender1 and appender2 here
That won't work, you need to do it this way: http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#I_want_to_log_ERROR_and_WARN_messages_to_different_files!_How_can_I_do_that? -- Mike Mike Schilli m...@perlmeister.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel