You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Jose Luis Valencia <jv...@rocoto.com.pe> on 2015/07/03 17:12:05 UTC
log4j2 NoSql appender MongoDB 3 driver support
I am using log4j 2.3, I tried to setup a NoSql appender using mongoDb 3.0.2
and I got this exception:
Caused by: java.lang.NoSuchMethodError: com.mongodb.DB.isAuthenticated()Z
at
org.apache.logging.log4j.nosql.appender.mongodb.MongoDbProvider.createNoSqlProvider(MongoDbProvider.java:178)
... 90 more
com.mongodb.DB.isAuthenticated()
was removed in mongodb-java-driver since 3.0 and was deprecated since 2.12.
It would be useful if log4j suports new
mongodb-java-driver 3.0
Thank you!
JOSÉ VALENCIA