RED-7715: Fixed messed up logging #168

Merged
dominique.eiflaender1 merged 1 commits from RED-7715 into master 2023-10-09 15:15:08 +02:00
3 changed files with 12 additions and 17 deletions

View File

@ -221,14 +221,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.iqser.red.commons</groupId>
<artifactId>logging-commons</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@ -276,11 +269,7 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.yannbriancon</groupId>
<artifactId>spring-hibernate-query-utils</artifactId>

View File

@ -13,7 +13,6 @@
<artifactId>persistence-service-server-v1</artifactId>
<properties>
<slf4j.version>1.7.30</slf4j.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -91,6 +90,14 @@
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>

View File

@ -4,8 +4,7 @@
<Console name="JsonConsole" target="SYSTEM_OUT">
<JSONLayout compact="true" eventEol="true" properties="true" stacktraceAsString="true"
includeTimeMillis="true">
<!-- Project properties -->
<KeyValuePair key="appName" value="${project.name}"/>
<KeyValuePair key="version" value="${project.version}"/>
</JSONLayout>
</Console>
@ -15,4 +14,4 @@
<AppenderRef ref="JsonConsole"/>
</Root>
</Loggers>
</Configuration>
</Configuration>