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

Reply via email to