logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Lautman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-403) MongoDB appender, username and password should be optional.
Date Thu, 28 May 2015 16:07:19 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563171#comment-14563171
] 

Jeremy Lautman commented on LOG4J2-403:
---------------------------------------

Since I do not have commit rights, how should we proceed? I'm still new to the project so
don't know how to submit a patch. I only came across this ticket while trying to log to an
unauthenticated mongo server (in an isolated network of course) and have never contributed
to an open source project before. Should I just hand this off to one of you?

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message