Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.22 KB

File metadata and controls

34 lines (29 loc) · 1.22 KB

Apache Log4j Samples: custom configuration

This project shows how to write a custom configuration factory.

In order to use it:

  1. install the artifact and its parent locally with mvn install,

  2. add it to your Maven project:

    <dependency>
      <groupId>org.apache.logging.log4j.samples</groupId>
      <artifactId>log4j-samples-configuration</artifactId>
      <version>2.19.1-SNAPSHOT</version>
    </dependency>
  3. add an empty log4j2.custom file to your project’s resources.