You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "elkan (JIRA)" <ji...@apache.org> on 2017/01/19 06:36:26 UTC
[jira] [Created] (LOG4J2-1793) Why there can't get thrown from
LogEvent
elkan created LOG4J2-1793:
-----------------------------
Summary: Why there can't get thrown from LogEvent
Key: LOG4J2-1793
URL: https://issues.apache.org/jira/browse/LOG4J2-1793
Project: Log4j 2
Issue Type: Bug
Components: Core
Affects Versions: 2.7
Environment: JDK1.8, CentOS6
Reporter: elkan
There I want create a customer defined appender and need get stack case message. So in over write append method when implements AbstractAppender, then use the function like below code:
logEvent.getThrown().getCause()
But it very interesting, it out put null, but I use Eclipse debug enter it can get message and seems it were drop-dead halt. Is it a bug problem. There need you help, thanks.
--
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