You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Muris Ahmovic (Jira)" <ji...@apache.org> on 2021/12/14 13:10:00 UTC

[jira] [Comment Edited] (LOG4J2-3223) Log4J2 project page displays wrong syntax for "nolookups"

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

Muris Ahmovic edited comment on LOG4J2-3223 at 12/14/21, 1:09 PM:
------------------------------------------------------------------

Hey [~vy] , [~rpopma] 

no problem. One more addition, it might be good to inform the users that they must replace all variants of the pattern %m if they go with this solution.
{code:java}
%m{nolookups}
%msg{nolookups}
%message{nolookups} {code}
 


was (Author: mahmovic):
Hey [~vy] , [~rpopma] 

no problem. One more addition, it might be good to inform the users that they must replace all variants of the pattern "%m" if they go with this solution.
{code:java}
%m{nolookups}
%msg{nolookups}
%message{nolookups} {code}
 

> Log4J2 project page displays wrong syntax for "nolookups"
> ---------------------------------------------------------
>
>                 Key: LOG4J2-3223
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3223
>             Project: Log4j 2
>          Issue Type: Documentation
>            Reporter: Muris Ahmovic
>            Priority: Major
>
> On the main log4j2 project page:
> [https://logging.apache.org/log4j/2.x/index.html]
> the following information can be found at the bottom:
> For releases from 2.7 through 2.14.1 all PatternLayout patterns can be modified to specify the message converter as *%m\{nnolookups}* instead of just %m.
> While it should be *%m\{nolookups}*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)