Re: [log4perl-devel] logging to different files and file rotation

2009-02-17 Thread Mike Schilli
On Tue, 17 Feb 2009, [email protected] wrote: > What I'm trying to do here is: > 1. log WARN to mainLogFile > 2. log DEBUG to runMonitorLogFile Watch out for this common gotcha, listed in the Log4perl FAQ: http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#I_keep_getting_du

[log4perl-devel] logging to different files and file rotation

2009-02-17 Thread [email protected]
Hi there, What I'm trying to do here is: 1. log WARN to mainLogFile 2. log DEBUG to runMonitorLogFile 3. output to screen at level INFO 4. email at level WARN and here is the log4per.properties file: #predefined variables layout_class = Log::Log4perl::Layout::PatternLayout layout_pattern = %d %5