JAVA-25483 add global logback config (#15829)

This commit is contained in:
Loredana Crusoveanu 2024-03-29 20:36:33 +02:00 committed by GitHub
parent c15f637d3a
commit b7b1e2be23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 12 deletions

View File

@ -97,6 +97,7 @@
<smack.version>4.3.1</smack.version>
<eclipse.paho.client.mqttv3.version>1.2.0</eclipse.paho.client.mqttv3.version>
<nanohttpd.version>2.3.1</nanohttpd.version>
<logback.configurationFileName>logback.xml</logback.configurationFileName>
</properties>
</project>

17
pom.xml
View File

@ -118,6 +118,9 @@
<exclude>**/JdbcTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<systemPropertyVariables>
<logback.configurationFile>${tutorialsproject.basedir}/${logback.configurationFileName}</logback.configurationFile>
</systemPropertyVariables>
</configuration>
<dependencies>
<dependency>
@ -318,9 +321,6 @@
<exclude>**/JdbcTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<systemPropertyVariables>
<logback.configurationFile>${tutorialsproject.basedir}/logback-config.xml</logback.configurationFile>
</systemPropertyVariables>
</configuration>
</plugin>
@ -388,9 +388,6 @@
<exclude>**/*JdbcTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<systemPropertyVariables>
<logback.configurationFile>${tutorialsproject.basedir}/logback-config.xml</logback.configurationFile>
</systemPropertyVariables>
</configuration>
</plugin>
@ -471,9 +468,6 @@
<include>**/*IntegrationTest.java</include>
<include>**/*IntTest.java</include>
</includes>
<systemPropertyVariables>
<logback.configurationFile>${tutorialsproject.basedir}/logback-config.xml</logback.configurationFile>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
@ -530,9 +524,6 @@
<include>**/*IntegrationTest.java</include>
<include>**/*IntTest.java</include>
</includes>
<systemPropertyVariables>
<logback.configurationFile>${tutorialsproject.basedir}/logback-config.xml</logback.configurationFile>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
@ -1198,6 +1189,8 @@
<h2.version>2.1.214</h2.version>
<guava.version>33.0.0-jre</guava.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<logback.configurationFileName>logback-config-global.xml</logback.configurationFileName>
</properties>
</project>