MVN

org.apache.logging.log4j : log4j-mongodb2

Maven & Gradle

Dec 28, 2021
33 usages

Apache Log4j MongoDB 2 · MongoDB appender for Log4j using the MongoDB 2 driver API.

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-mongodb2</artifactId>
    <version>2.12.4</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.logging.log4j : log4j-mongodb2 to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.12.4

All Versions

Choose a version of org.apache.logging.log4j : log4j-mongodb2 to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.13.x
log4j-mongodb2-2.13.3
log4j-mongodb2-2.13.2
log4j-mongodb2-2.13.1
log4j-mongodb2-2.13.0
2.12.x
log4j-mongodb2-2.12.4
log4j-mongodb2-2.12.3
log4j-mongodb2-2.12.2
log4j-mongodb2-2.12.1
log4j-mongodb2-2.12.0
2.11.x
log4j-mongodb2-2.11.2
log4j-mongodb2-2.11.1
log4j-mongodb2-2.11.0

How to add a dependency to Maven

Add the following org.apache.logging.log4j : log4j-mongodb2 maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-mongodb2</artifactId>
    <version>2.12.4</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.apache.logging.log4j : log4j-mongodb2 gradle dependency to your build.gradle file:

implementation 'org.apache.logging.log4j:log4j-mongodb2:2.12.4'

Gradle Kotlin DSL: Add the following org.apache.logging.log4j : log4j-mongodb2 gradle kotlin dependency to your build.gradle.kts file:

implementation("org.apache.logging.log4j:log4j-mongodb2:2.12.4")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.apache.logging.log4j : log4j-mongodb2 sbt scala dependency to your build.sbt file:

libraryDependencies += "org.apache.logging.log4j" % "log4j-mongodb2" % "2.12.4"

Advertisement