You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2018/07/15 02:06:00 UTC

[jira] [Comment Edited] (LOG4J2-2374) Add RollingFileAppender locking option

    [ https://issues.apache.org/jira/browse/LOG4J2-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16544389#comment-16544389 ] 

Ralph Goers edited comment on LOG4J2-2374 at 7/15/18 2:05 AM:
--------------------------------------------------------------

This issue cannot be fixed. There is no way to safely lock a rolling file appender such that it is usable across multiple JVMs or operating systems without making the code even more complicated and causing serious performance problems.


was (Author: ralph.goers@dslextreme.com):
This issue cannot be fixed. There is no way to safely lock a rolling file appender such that it is usable across multiple JVMs or operating systems.

> Add RollingFileAppender locking option
> --------------------------------------
>
>                 Key: LOG4J2-2374
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2374
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 3.0.0, 2.11.1
>
>
> Support {{RollingFileAppender}} with {{locking="true"}}, currently it is hard coded to false internally.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)