Omer U created LOG4J2-3392:
------------------------------

             Summary: NoSQLAppender mongodb4 out of box exception support
                 Key: LOG4J2-3392
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3392
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Omer U


Logging an exception with

LOG.warn("test log", new RuntimeException("test ex"));

 

does not work and throws exception. There's a blog post [1] providing a 
workaround which is rewrite of MongoDb4Provider which causes classpath issues.
 

 

[1]https://blog.termian.dev/posts/log4j2-mongodb-appender/



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to