2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-10-31 21:43:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-12-05 09:56:52 -05:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>log-mdc</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>log-mdc</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<description>tutorial on logging with MDC and NDC</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2020-08-26 15:38:26 -04:00
|
|
|
<artifactId>parent-spring-5</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2020-08-26 15:38:26 -04:00
|
|
|
<relativePath>../../parent-spring-5</relativePath>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>${javax.servlet-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--log4j dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--log4j2 dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--disruptor for log4j2 async logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
<version>${disruptor.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JBoss Logging (bridge) dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
<version>${jbosslogging.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
|
|
|
<warName>logging-service</warName>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<finalName>logging-service</finalName>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<log4j2.version>2.7</log4j2.version>
|
|
|
|
<disruptor.version>3.3.6</disruptor.version>
|
|
|
|
<jbosslogging.version>3.3.0.Final</jbosslogging.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|