Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3488

RollingFileAppender does not start when associated with FailoverAppender

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.17.0
    • None
    • Appenders
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            htejwani Haresh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: