You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Chand Priyankara (JIRA)" <lo...@logging.apache.org> on 2014/01/15 19:55:32 UTC

[jira] [Assigned] (LOGCXX-412) Log4cxx doesn't roll normally when working under multiple processes environment

     [ https://issues.apache.org/jira/browse/LOGCXX-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chand Priyankara reassigned LOGCXX-412:
---------------------------------------

    Assignee: Chand Priyankara

> 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)