MVN

org.apache.tomee : log4j2-tomee

Maven & Gradle

Jun 06, 2023

TomEE :: Utils :: Log4j2 · Add this module if you use log4j2 in TomEE/lib and rely on shutdown hook and don't want to loose logs.

<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>log4j2-tomee</artifactId>
    <version>9.1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.tomee : log4j2-tomee to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 9.1.0
  • Latest Release Candidate: 9.0.0.RC1

All Versions

Choose a version of org.apache.tomee : log4j2-tomee to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
9.1.x
log4j2-tomee-9.1.0
9.0.x
log4j2-tomee-9.0.0
log4j2-tomee-9.0.0.RC1
log4j2-tomee-9.0.0-M8
8.0.x
log4j2-tomee-8.0.15
log4j2-tomee-8.0.14
log4j2-tomee-8.0.13
log4j2-tomee-8.0.12
log4j2-tomee-8.0.11
log4j2-tomee-8.0.10
log4j2-tomee-8.0.9
log4j2-tomee-8.0.8
log4j2-tomee-8.0.7
log4j2-tomee-8.0.6
log4j2-tomee-8.0.5
log4j2-tomee-8.0.4
log4j2-tomee-8.0.3
log4j2-tomee-8.0.2
log4j2-tomee-8.0.1
log4j2-tomee-8.0.0
log4j2-tomee-8.0.0-M3
log4j2-tomee-8.0.0-M2
log4j2-tomee-8.0.0-M1
7.1.x
log4j2-tomee-7.1.4
log4j2-tomee-7.1.3
log4j2-tomee-7.1.2
log4j2-tomee-7.1.1
log4j2-tomee-7.1.0
7.0.x
log4j2-tomee-7.0.9
log4j2-tomee-7.0.8
log4j2-tomee-7.0.7
log4j2-tomee-7.0.6
log4j2-tomee-7.0.5
log4j2-tomee-7.0.4
log4j2-tomee-7.0.3
log4j2-tomee-7.0.2
log4j2-tomee-7.0.1
log4j2-tomee-7.0.0
log4j2-tomee-7.0.0-M3
log4j2-tomee-7.0.0-M2
log4j2-tomee-7.0.0-M1

How to add a dependency to Maven

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

<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>log4j2-tomee</artifactId>
    <version>9.1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.apache.tomee : log4j2-tomee gradle dependency to your build.gradle file:

implementation 'org.apache.tomee:log4j2-tomee:9.1.0'

Gradle Kotlin DSL: Add the following org.apache.tomee : log4j2-tomee gradle kotlin dependency to your build.gradle.kts file:

implementation("org.apache.tomee:log4j2-tomee:9.1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.apache.tomee : log4j2-tomee sbt scala dependency to your build.sbt file:

libraryDependencies += "org.apache.tomee" % "log4j2-tomee" % "9.1.0"