From: Mike S. <mik...@gm...> - 2004-09-22 07:53:49
|
On Tue, 21 Sep 2004 16:21:21 +0200, Albert Vila <av...@im...> wrote: > How can I initialize the log4perl with the main logger.conf and add > a new custom appenders? > The init method erases any previous initialization. Is there an > init_append like method? We've thought about this issue a while ago, but got away from it because of implications like users accidently overwriting previous settings. Nobody stops you from dynamically assembling your conf file, though, so you could still "add" configuration lines before calling "init". It would be helpful to know what the purpose of the additional appender is -- it's possible that you could use a custom filter instead. -- Mike |