[log4perl-devel] re-init question

2011-08-08 Thread Bret Jordan
Dear Authors, First I would like to say how great your tool Log::Log4perl module is. Well done. I do have a question on how to make changes on the fly without using the init_and_wait feature that is only for the configuration file. Or how do we make init_and_wait work for a ref to a hash that

Re: [log4perl-devel] re-init question

2011-08-08 Thread Mike Schilli
On Mon, 8 Aug 2011, Bret Jordan wrote: Or how do we make init_and_wait work for a ref to a hash that contains the config?.  What I would like is something like the following: ... ### Now this is where you would change the running config per say, basically adding a second output $ref->{log4perl

[log4perl-devel] Generic message addition?

2011-08-08 Thread Holger Jahn
Hi there, We are having a quite big application that uses Log4perl extensively all over the place. We added an email appender to send error messages to the developers as they occur, which works out nicely. Now, we would like to add some generic info to all of the logged messages (OS name & ve

Re: [log4perl-devel] Generic message addition?

2011-08-08 Thread Mike Schilli
On Tue, 9 Aug 2011, Holger Jahn wrote: > Now, we would like to add some generic info to all of the logged > messages (OS name & version, for instance). Is there a way of telling > Log4perl to do this, i.e. without having to add this info manually to > all of the existing places where we currently