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

Mikael Ståldal commented on LOG4J2-2144:
----------------------------------------

I am not sure I fully understand the problem. Can you provide some 
code/configuration to demonstrate it? Preferably as a failing unit test. 

> Logger does not print message in case if stacktrace is empty for Throwable
> --------------------------------------------------------------------------
>
>                 Key: LOG4J2-2144
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2144
>             Project: Log4j 2
>          Issue Type: Bug
>            Reporter: Prabhu Joseph
>
> There are user defined exceptions which does not print stack trace for 
> security purposes. In this case, Logger render method will return empty stack 
> trace. We can return the Throwable message if stacktrace is empty while 
> logging the exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to