[ https://issues.apache.org/jira/browse/LOGCXX-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-412. -------------------------------------- Resolution: Fixed I applied the fix to trunk. > Log4cxx doesn't roll normally when working under multiple processes > environment > ------------------------------------------------------------------------------- > > Key: LOGCXX-412 > URL: https://issues.apache.org/jira/browse/LOGCXX-412 > Project: Log4cxx > Issue Type: Improvement > Components: Appender > Affects Versions: 0.10.0 > Environment: RHEL 5.x, 6.x > Reporter: Wei Sun > Assignee: Chand Priyankara > Fix For: 0.10.0 > > Attachments: log4cxx-multi_processes.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > 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. -- This message was sent by Atlassian JIRA (v6.1.5#6160)