You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Haresh (Jira)" <ji...@apache.org> on 2022/04/25 06:02:00 UTC

[jira] [Created] (LOG4J2-3488) RollingFileAppender foes not start when associated with FailoverAppender

Haresh created LOG4J2-3488:
------------------------------

             Summary: RollingFileAppender foes not start when associated with FailoverAppender
                 Key: LOG4J2-3488
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3488
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.17.0
            Reporter: Haresh


Scenario: FailoverAppender with RollingFileAppender as primary and the file path or mounted file system is not available

The failover appender does not start. Ideally, the failover appender should start in this case with the secondary appender.

I tried extending the implementation and ignoring the errors when file is not present. It worked as expected. 

Please provide an appropriate option/fix to let the FailoverAppender start in this case.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)