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?
In reply to Testing effectiveness of Log4Perl synchronized appender by andyford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |