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

AsyncLogger should use thread-local translator by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Core
    • None

    Description

      Bug in the fix for LOG4J2-1172.
      The current default is to use a vararg translator. This was intended to only be used in web containers.

      The fix is to change

      //AsyncLoggerDisruptor
          private boolean useThreadLocalTranslator;
      

      to

          private boolean useThreadLocalTranslator = true;
      

      Attachments

        Activity

          People

            rpopma Remko Popma
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: