On Tue, 17 Feb 2009, wzhao6...@gmail.com wrote:
> I'd like the main.log to rotate at midnight, and persist among
> restarts (log file not wiped out among restarts) so I used "append"
> mode here, but the rotation is not working, did I set this up wrong?
> Thanks in advance!
Can you specify what e
On Tue, 17 Feb 2009, wzhao6...@gmail.com 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,
Here is my log4perl.properties file:
#predefined variables
layout_class = Log::Log4perl::Layout::PatternLayout
layout_pattern = %d %5p %F{1} %L> %m %n
layout_email_pattern = %d{-MM-dd HH:mm:ss} [%F{1}:%c{1}:%L] %5p> %m%n
log_file_appender = Log::Dispatch::FileRotate
#log4perl categ
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