diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 4c52897c..388f6f8e 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -9,7 +9,6 @@ logging: level: root: info com.ibasco.agql: warn - org.dizitart.no2: debug pattern: console: "%clr(%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}){faint} %clr(%5p) %clr(${PID:-}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %mdc%n%wEx" diff --git a/src/test/kotlin/de/darkatra/vrising/discord/persistence/ServerRepositoryTest.kt b/src/test/kotlin/de/darkatra/vrising/discord/persistence/ServerRepositoryTest.kt index 78a37e0b..21e1fe73 100644 --- a/src/test/kotlin/de/darkatra/vrising/discord/persistence/ServerRepositoryTest.kt +++ b/src/test/kotlin/de/darkatra/vrising/discord/persistence/ServerRepositoryTest.kt @@ -1,5 +1,6 @@ package de.darkatra.vrising.discord.persistence +import ch.qos.logback.classic.Logger import de.darkatra.vrising.discord.DatabaseConfigurationTestUtils import de.darkatra.vrising.discord.persistence.model.ServerTestUtils import org.assertj.core.api.Assertions.assertThat @@ -8,6 +9,7 @@ import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import org.junit.jupiter.api.condition.DisabledInNativeImage +import org.slf4j.LoggerFactory @DisabledInNativeImage class ServerRepositoryTest { @@ -86,6 +88,9 @@ class ServerRepositoryTest { @Test fun `should not update server status monitor with higher version`() { + val logger = LoggerFactory.getLogger("nitrite") as Logger + logger.level = ch.qos.logback.classic.Level.DEBUG + val server = ServerTestUtils.getServer() serverRepository.addServer(server)