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

Upon shutdown async logger fails to drain the log lines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.10.0
    • None
    • Appenders
    • None

    Description

      I am using async logger configuration with log4j2.contextSelector set to org.apache.logging.log4j.core.async.AsyncLoggerContextSelector with a console appender. The application is run using exec. Application will spit out log lines and terminates gracefully. After upgrading to new release of log4j2 v2.10 (from 2.6) not all log lines are visible on the console. Looks like log lines are not flushed on application shutdown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kishorekasi Kishore Kasi Udayashankar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: