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

Async Logger Not Work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.17.2
    • None
    • Core
    • None
    • Important

    Description

      I want to use the async logger with Log4j2, but i find that follow the official document, i can not get a real async logger.

      I read this doc: https://logging.apache.org/log4j/2.x/manual/async.html

      In this part "Mixing Synchronous and Asynchronous Loggers", i copy the xml config and run a test, it shows that the "com.foo.Bar" is not an async logger. 

       

      From the test, i think it shuold be "org.apache.logging.log4j.core.async.AsyncLogger", but it is "org.apache.logging.log4j.core.Logger".

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            upshime upshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: