log4mongo-java icon indicating copy to clipboard operation
log4mongo-java copied to clipboard

use username and pwd to login issue

Open Mrwb opened this issue 9 years ago • 1 comments

I use log4mongo to record log in mongo,when mongo has not password ,it works correctly,but when i config this words: log4j.appender.MongoDB.userName=Kneebrace#wr@mongo log4j.appender.MongoDB.password=kb#wr@mongo Tomcat doesn't start up,log like this: No such logging.properties in classpath for jdk logging config! NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager

I don't what happened,please tell me whatever about this issue.Thanks.

Mrwb avatar Aug 08 '16 03:08 Mrwb

I found out another issue,when i set log level is info,this can't find mongodb instance.I start up a mongodb instance.

Mrwb avatar Aug 08 '16 07:08 Mrwb