You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/01/18 12:22:00 UTC

[jira] [Resolved] (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 ]

Gary D. Gregory resolved LOG4J2-3122.
-------------------------------------
    Fix Version/s: 2.17.0
       Resolution: Fixed

No reply from OP, see my previous comment RE 2.17.0.

 

> 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
>             Fix For: 2.17.0
>
>         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.20.1#820001)