Hello,

I had a problem while trying to log an exception.
When I call:
logger.error("An error message with an exception", new Exception("Some
serious problem"));

I get this message:
2020-01-15 14:43:15,670 main ERROR Unable to write to database
[noSqlManager{ description=Database, bufferSize=0, provider=mongoDb{
database=logs } }] for appender [Database].
org.bson.codecs.configuration.CodecConfigurationException:
Can't find a codec for class
org.apache.logging.log4j.mongodb3.MongoDbDocumentObject.

Any suggestions?

Regards,

Reply via email to