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
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