Details
Description
Log4cxx cannot roll file as expected when working under multiple processes environment, it will write to arbitrary log files, both size-base and time-based rolling policy have this issue. The attached patch fixed this by adding synchronization mechanism among different processes, it has been verified with apache(multiple process mode) under RHEL 4.x-6.x for size-based rolling and time-based rolling. To apply this needs to define LOG4CXX_MULTI_PROCESS macros.
Attachments
Attachments
Issue Links
- is related to
-
LOGCXX-491 SizeBasedRollingTest cases fail when defining LOG4CXX_MULTI_PROCESS
- Resolved