Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-403

MongoDB appender, username and password should be optional.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0-beta9
    • 2.4
    • Appenders
    • None

    Description

      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).

      Attachments

        1. LOG4J2-403.txt
          1 kB
          Jeremy Lautman

        Activity

          People

            Unassigned Unassigned
            poorna1 Poorna Subhash P
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: