June 2018
Intermediate to advanced
408 pages
11h 23m
English
Apache Log4j is one of the most widely used logging frameworks in the Java community. It is written in Java and distributed under the Apache software license. Apache Log4j 2 is the revision of an earlier version. The most notable features include thread safety, performance optimization, a named logger hierarchy, and internationalization support.
In order to set up Log4j 2, the following Maven dependencies must be added in the Maven pom.xml file:
<dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.7</version></dependency><dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.7</version> <type>test-jar</type> <scope>test</scope> ...
Read now
Unlock full access