You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Red Apple (Jira)" <ji...@apache.org> on 2021/07/09 15:29:00 UTC

[jira] [Updated] (LOG4J2-3122) Logging to Log4j2 MongoDb4 Appender get ERROR on trace, debug and info level.

     [ https://issues.apache.org/jira/browse/LOG4J2-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Red Apple updated LOG4J2-3122:
------------------------------
    Summary: Logging to Log4j2 MongoDb4 Appender get ERROR on trace, debug and info level.  (was: Logging to Log4j2 MongoDb4 Appender ERROR on trace, debug and info level.)

> Logging to Log4j2 MongoDb4 Appender get ERROR on trace, debug and info level.
> -----------------------------------------------------------------------------
>
>                 Key: LOG4J2-3122
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3122
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.14.1
>            Reporter: Red Apple
>            Priority: Blocker
>         Attachments: log4j2-mongodb4-appender-main.zip
>
>
> Logging to Log4j2 MongoDb4 Appender on trace, debug and info log level give the following error
>  *ERROR Recursive call to appender*
>  but give success result and the log got written to the mongodb database when using warn or error log level.
>  Possibly something recursive call happens with info log level that causing this bug.
> [Here is the repository|https://github.com/redapel/log4j2-mongodb4-appender] that contain the very minimal code to reproduce the error. The configuration is provided in the *log4j2.xml* file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)