You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Erik Weathers (JIRA)" <ji...@apache.org> on 2017/02/28 07:11:45 UTC

[jira] [Created] (LOG4J2-1828) add support for prudent mode in Log4j 2

Erik Weathers created LOG4J2-1828:
-------------------------------------

             Summary: add support for prudent mode in Log4j 2
                 Key: LOG4J2-1828
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1828
             Project: Log4j 2
          Issue Type: Improvement
            Reporter: Erik Weathers
            Priority: Minor


As discussed in LOG4J2-174, there is a feature from logback called ["prudent mode"|https://logback.qos.ch/manual/appenders.html#prudent] which is not available in Log4j 2.  This feature allows multiple JVMs to write to the same log file at the same time, albeit with a [few restrictions|https://logback.qos.ch/manual/appenders.html#prudentWithRolling].

Please see LOG4J2-174 for a discussion on some alternative approaches you might consider if you want prudent mode but this ticket isn't yet fixed in the version of Log4j 2 you are using.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org