MongoDB Connection Classname is wrong
atkawa7 opened this issue · 0 comments
atkawa7 commented
The current configuration provided on the wiki is not correct as the specified class has moved. Use this instead
<configuration debug="true">
<appender name="MONGO" class="ch.qos.logback.contrib.mongodb.MongoDBAccessEventAppender">
<encoder>
<uri>mongodb://root:password@127.0.0.1:27017/local.logs</uri>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="MONGO"/>
</root>
</configuration>
or
<configuration debug="true">
<appender name="MONGO" class="ch.qos.logback.contrib.mongodb.MongoDBLoggingEventAppender">
<uri>mongodb://root:rootpassword@127.0.0.1:27017/local.logs</uri>
</appender>
<root level="INFO">
<appender-ref ref="MONGO"/>
</root>
</configuration>