I'm creating loggers with easy_init (deliberately using no initialization file), and found that they are always created in 'clobber' mode. After studying the code, I found I could change the mode of a specific logger to 'clobber' using
Log::Log4perl->appender_by_name('app002')->{mode}='append'; This works, but it is a pretty bad solution, since I'm fiddling around with the implementation of Log::Log4perl::Appender::File. Is there a better way to set the mode? Just setting mode => 'append' in easy_init did not help. Ronald -- Ronald Fischer <rona...@eml.cc> + If a packet hits a pocket on a socket on a port, + and the bus is interrupted and the interrupt's not caught, + then the socket packet pocket has an error to report. + (cited after Peter van der Linden) ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel