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-835) Possibility to turn off logging of lib name and version in exception stack trace
Date Wed, 17 Sep 2014 15:30:35 GMT

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

Ralph Goers commented on LOG4J2-835:
------------------------------------

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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message