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

New module log4j-mongodb3: Remove use of deprecated MongoDB APIs and code to the Java driver version 3 API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: Appenders, MongoDB
    • Labels:
      None

      Description

      Add new module log4j-mongodb3.

      Remove use of deprecated MongoDB APIs and code to the Java driver version 3 API

      Deprecated call sites:

      Description	Resource	Path	Location	Type
      The constructor MongoClient(ServerAddress, List<MongoCredential>) is deprecated	MongoDbProvider.java	/log4j-mongodb/src/main/java/org/apache/logging/log4j/mongodb	line 299	Java Problem
      The method getDB(String) from the type Mongo is deprecated	MongoDbProvider.java	/log4j-mongodb/src/main/java/org/apache/logging/log4j/mongodb	line 250	Java Problem
      The method getDB(String) from the type Mongo is deprecated	MongoDbProvider.java	/log4j-mongodb/src/main/java/org/apache/logging/log4j/mongodb	line 299	Java Problem
      

      As of commit b993a2138992f84ff834aa10a2e6b7640f3aa8d7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                garydgregory Gary Gregory
                Reporter:
                garydgregory Gary Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: