At the very least, please create a Jira issue.

Ralph

> On Jul 3, 2015, at 9:17 AM, Gary Gregory <[email protected]> wrote:
> 
> Patches welcome! :-)
> 
> Gary 
> 
> 
> -------- Original message --------
> From: Jose Luis Valencia <[email protected]> 
> Date: 07/03/2015 08:12 (GMT-08:00) 
> To: [email protected] 
> Subject: 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

Reply via email to