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

Ralph Goers edited comment on LOG4J2-835 at 9/17/14 3:31 PM:
-------------------------------------------------------------

If you do not include one of the exception converter formats in the pattern the 
pattern layout acts as if %xEx was specified. Simply change your pattern to end 
with %ex instead. This behavior is documented at 
http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout.


was (Author: [email protected]):
If you do not include one of the exception converter formats in the pattern the 
pattern layout acts as if %xEx was specified. Simply change your pattern to end 
with %ex instead.

> 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