logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1407) Misleading WARN log events from Log4j about message factories and unexpected formatting
Date Thu, 02 Jun 2016 21:39:59 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313123#comment-15313123
] 

Ralph Goers commented on LOG4J2-1407:
-------------------------------------

What is misleading about the warning message?

> 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


Mime
View raw message