2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-13 13:16:18 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
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>spring-boot-logging-log4j2</artifactId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<name>spring-boot-logging-log4j2</name>
|
2019-10-31 21:43:47 -04:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Demo project for Spring Boot Logging with Log4J2</description>
|
|
|
|
|
|
|
|
<parent>
|
2023-10-02 13:37:36 -04:00
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
|
|
</dependency>
|
2023-01-23 09:44:23 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-spring-boot</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
2019-12-05 09:56:52 -05:00
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.graylog2</groupId>
|
|
|
|
<artifactId>gelfj</artifactId>
|
|
|
|
<version>${gelfj.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<build>
|
2019-12-05 09:56:52 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>3</forkCount>
|
|
|
|
<reuseForks>true</reuseForks>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*IntTest.java</exclude>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2019-10-31 21:43:47 -04:00
|
|
|
</build>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<properties>
|
|
|
|
<start-class>com.baeldung.springbootlogging.SpringBootLoggingApplication</start-class>
|
2019-12-05 09:56:52 -05:00
|
|
|
<spring-boot-starter-log4j.version>1.3.8.RELEASE</spring-boot-starter-log4j.version>
|
|
|
|
<gelfj.version>1.1.16</gelfj.version>
|
2022-02-22 11:23:39 -05:00
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2021-05-13 13:16:18 -04:00
|
|
|
</project>
|