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

RoutingAppender + purge policy race results in attempts to append to a closed appender

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.2
    • Fix Version/s: 2.12.0
    • Component/s: None
    • Labels:
      None

      Description

      Using the RoutingAppender with an idle timeout policy results in intermittently logging:

      ERROR Attempted to append to non-started appender <name>

      Encountered in combination with IdlePurgePolicy.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ckozak Carter Kozak
                Reporter:
                ckozak Carter Kozak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m