Log4j Transform

Log4j Transform contains tools for binary postprocessing of projects that use the Apache Log4j2 API.

Maven Bill of Materials (BOM)

To keep your Log4j Transform module versions aligned, a Maven Bill of Materials (BOM) POM is provided for your convenience.

To use this with Maven, add the dependency listed below to your pom.xml file. Note that the <dependencyManagement> nesting and the <scope>import</scope> instruction. This will import all modules bundled with the associated Log4j release to your dependencyManagement. As a result, you don’t have to specify versions of the imported modules (log4j-weaver, etc.) while using them as a <dependency>.

pom.xml snippet importing log4j-transform-bom
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-transform-bom</artifactId>
      <version>0.2.0</version>
      <scope>import</scope>
      <type>pom</type>
    </dependency>
  </dependencies>
</dependencyManagement>