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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.11.0
    • Appenders, MongoDB
    • 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

              ggregory Gary D. Gregory
              ggregory Gary D. Gregory
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: