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

Remko Popma commented on LOG4J2-835:
------------------------------------

I don't think log4j2 supports logging the library name/version, unless I'm 
missing something...
There are a number of location [options in the pattern 
layout|http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout] 
but you need to switch them _on_, by default they are not displayed. Because 
there is an _on_ switch (in configuration) there is no need for an off switch...

> Possibility to turn off logging of lib name and version in exception stack 
> trace
> --------------------------------------------------------------------------------
>
>                 Key: LOG4J2-835
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-835
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.2
>            Reporter: Anton Korenkov
>            Priority: Minor
>
> New feature in log4j-2 is library name and version appending while logging 
> stack trace. Sometimes it's helpful, but in some cases it will be good to 
> turn off this feature by setting new property (e.g. "appned-lib") to false 
> for example.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to