Apache Log4j API Maven Dependency - RameshMF/java-json-processing-tutorial GitHub Wiki

Apache Log4j API

Apache Log4j API Maven Dependency

Copy below Apache Log4j API maven dependency and paste in your project pom.xml file:

<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-api</artifactId>
    <version>2.12.1</version>
</dependency>

Apache Log4j API Gradle Dependency

Copy below Apache Log4j API gradle dependency and paste in your project build.gradle file:

// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.12.1'

Download JAR File

https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.12.1/log4j-api-2.12.1.jar

Check for Latest Release

https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api

Reference

https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api

⚠️ **GitHub.com Fallback** ⚠️