You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/06/02 20:55:59 UTC

[jira] [Created] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting

Gary Gregory created LOG4J2-1407:
------------------------------------

             Summary: Misleading WARN log events from Log4j about message factories and unexpected formatting
                 Key: LOG4J2-1407
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1407
             Project: Log4j 2
          Issue Type: Bug
          Components: API
    Affects Versions: 2.6
            Reporter: Gary Gregory
            Assignee: Gary Gregory
             Fix For: 2.6.1


We log misleading WARN log events from Log4j about message factories and unexpected formatting.

For example:

{noformat}
2016-05-29 18:21:46,712 main WARN The Logger com.example.foo was created with the message factory org.apache.logging.log4j.spi.MessageFactory2Adapter@46bc9802 and is now requested with the message factory org.apache.logging.log4j.m
essage.StringFormatterMessageFactory@510e0dd2, which may create log events with unexpected formatting.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org