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 "Poorna Subhash P (JIRA)" <ji...@apache.org> on 2013/09/18 08:24:57 UTC
[jira] [Created] (LOG4J2-403) MongoDB appender, username and
password should be optional.
Poorna Subhash P created LOG4J2-403:
---------------------------------------
Summary: MongoDB appender, username and password should be optional.
Key: LOG4J2-403
URL: https://issues.apache.org/jira/browse/LOG4J2-403
Project: Log4j 2
Issue Type: Improvement
Components: Appenders
Affects Versions: 2.0-beta9
Reporter: Poorna Subhash P
Priority: Minor
In development environments it is usual to create MongoDB without any users/restrictions.
In MongoDB appender if I don't provide usrname,password or if I provide empty values, its throwing exception even without attempting for connection.
Getting following error: ERROR The database is not already authenticated so you must supply a username and password for the MongoDB provider.
It would be nice if there is an ability to connect to MongoDB without user details (making them optional fields).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org