From: Erik W. S. <er...@se...> - 2002-09-13 09:00:52
|
I'd say yes, even if it was contrary to log4j. I hate loggers that automatically nuke the previous log... 'cuz usually that's the one I want. :) -e Msc...@ao... wrote: > 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 |