diff --git a/common/logging/src/main/kotlin/net/corda/common/logging/ExceptionsErrorCodeFunctions.kt b/common/logging/src/main/kotlin/net/corda/common/logging/ExceptionsErrorCodeFunctions.kt index 8f9fd3a539..3064fce1cc 100644 --- a/common/logging/src/main/kotlin/net/corda/common/logging/ExceptionsErrorCodeFunctions.kt +++ b/common/logging/src/main/kotlin/net/corda/common/logging/ExceptionsErrorCodeFunctions.kt @@ -34,7 +34,6 @@ fun Message.withErrorCodeFor(error: Throwable?, level: Level): Message { error != null && level.isInRange(Level.FATAL, Level.WARN) -> { val logMessage = this.formattedMessage val message = error.walkExceptionCausedByList().asSequence().mapNotNull(Throwable::message).joinToString(" - ") - @Suppress("DEPRECATION") CompositeMessage("$logMessage - $message [errorCode=${error.errorCode()}, moreInformationAt=${error.errorCodeLocationUrl()}]", format, parameters, throwable) } else -> this diff --git a/common/logging/src/test/kotlin/net/corda/commmon/logging/ExceptionsErrorCodeFunctionsTest.kt b/common/logging/src/test/kotlin/net/corda/commmon/logging/ExceptionsErrorCodeFunctionsTest.kt index c84a01c341..971f02c13e 100644 --- a/common/logging/src/test/kotlin/net/corda/commmon/logging/ExceptionsErrorCodeFunctionsTest.kt +++ b/common/logging/src/test/kotlin/net/corda/commmon/logging/ExceptionsErrorCodeFunctionsTest.kt @@ -31,7 +31,6 @@ class ExceptionsErrorCodeFunctionsTest { for (i in (0..10)) { assertThat(message.formattedMessage, contains("$EXCEPTION_MESSAGE $i".toRegex())) } - @Suppress("DEPRECATION") assertEquals(message.format, originalMessage.format) assertEquals(message.parameters, originalMessage.parameters) assertEquals(message.throwable, originalMessage.throwable) diff --git a/constants.properties b/constants.properties index 04cde79c7e..97602c1d30 100644 --- a/constants.properties +++ b/constants.properties @@ -51,7 +51,7 @@ jerseyVersion=3.1.6 servletVersion=4.0.1 assertjVersion=3.12.2 slf4JVersion=2.0.12 -log4JVersion=2.24.2 +log4JVersion=2.23.0 okhttpVersion=4.12.0 nettyVersion=4.1.115.Final fileuploadVersion=2.0.0-M1