log4j - "ERROR Failed to write log event to MongoDB due to invalid result [0]" when using NoSQLAppender -


i following message

error failed write log event mongodb due invalid result [0] 

when using nosqlappender log4j2 v2.0-beta8

despite th error log event gets written mongodb. know how suppress ?

here config

<?xml version="1.0" encoding="utf-8"?> <configuration status="warn">     <appenders>         <nosql name="databaseappender" suppressexceptions="true">             <mongodb collectionname="applicationlog" factoryclassname="com.borsch.dbmanager" factorymethodname="getnewmongoclient" writeconcernconstant="none" username="root" password="qwe"/>         </nosql>     </appenders>     <loggers>         <root level="error">             <appender-ref ref="databaseappender"/>         </root>     </loggers> </configuration> 

what's more strange can't find code generates it. didn't find such string in sources of log4j2.

i reported maintainers , fixed.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -