|
From: <Msc...@ao...> - 2002-09-13 04:18:11
|
Hey guys,
I keep running into the same issue that Log::Dispatch::File by default
overwrites an existing log file, because I forget to explicitly tell my
configuration to append:
Log4perl.logger = WARN, File
Log4perl.appender.File= Log::Dispatch::File
Log4perl.appender.File.layout=Log::Log4perl::Layout::SimpleLayout
Log4perl.appender.File.filename=/blah/blah
Wouldn't it be smarter to assume "append" as default? Does anybody have an
idea on how we could make "append" the default choice with a minimum of code
mess?
-- Mike
Mike Schilli
log...@pe...
http://perlmeister.com
http://log4perl.sourceforge.net
|