andyford has asked for the wisdom of the Perl Monks concerning the following question:
If multiple processes are using the same Log::Log4perl appender without synchronization, overwrites might happen. A typical scenario for this would be a process spawning children, each of which inherits the parent's Log::Log4perl configuration.I put the extra synchronizing declarations into my Log4perl config file and away it went.
But how do I test it?
More specifically, how do I reliably generate an overwrite situation that the syncronization would fix?
Or is there another way to test the sync?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing effectiveness of Log4Perl synchronized appender
by sgifford (Prior) on Sep 20, 2006 at 02:07 UTC | |
by Hofmator (Curate) on Sep 20, 2006 at 11:53 UTC | |
|
Re: Testing effectiveness of Log4Perl synchronized appender
by saintmike (Vicar) on Oct 11, 2006 at 18:46 UTC |