Re: [log4perl-devel] Problems with API config using appender Synchronized

2009-04-21 Thread Jens Berthold
Mike Schilli wrote: >> I added a new test script for this behaviour and a possible patch to >> Synchronized (Log4perl version 1.21). > >Looks good, I've applied it to the git repo (we're in the process of >migrating to github). Great! Altough my changes were tiny, it still feels good to colla

Re: [log4perl-devel] Problems with API config using appender Synchronized

2009-04-20 Thread Mike Schilli
On Sun, 12 Apr 2009, Mike Schilli wrote: > which is most certainly terrible and, as mentioned above, needs to be > fixed in one of the upcoming Log4perl releases. Okay, I've cleaned it up a bit and added some documentation on how to initialize composite appenders with the API: http://github.

Re: [log4perl-devel] Problems with API config using appender Synchronized

2009-04-12 Thread Mike Schilli
On Thu, 9 Apr 2009, Jens Berthold wrote: > 1) The sub Log::Log4perl::Appender::Synchronized->post_init() is not > called when the appender is created via API. Is this correct? My way > to handle this was to write an own class derived from Synchronized an > copy the code from post_init() to new()

[log4perl-devel] Problems with API config using appender Synchronized

2009-04-09 Thread Jens Berthold
Hi, I am new to this list and hope this is the right place for my questions. I am using Log4perl in a server project with parent and child processes. And it's great, of course ;-) Due to an initialization of log4perl that has multiple steps I recently switched from text based initialization to