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

AsyncLogger should use thread-local translator by default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Core
    • Labels:
      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

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              remkop@yahoo.com Remko Popma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: