Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Component/s: SLF4J Bridge
    • Labels:
      None
    • Environment:

      Log4j 2.6 slf4j 1.7.13-21

      Description

      when use log4j 2 2.6 ,
      some class like private static final Logger log = LoggerFactory.getLogger(RestDispatcherServlet .class);
      has warning :
      WARN The Logger com.gentlesoft.framework.RestDispatcherServlet was created with the message factory org.apache.logging.log4j.spi.MessageFactory2Adapter@31bd1cd3 and is now requested with a null message factory (defaults to org.apache.logging.log4j.message.ParameterizedMessageFactory), which may create log events with unexpected formatting.

      but some class no warning.

      log4j 2.5 no this problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuedaxia yuedaxia
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: