diff --git a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/LoggingFilter.kt b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/LoggingFilter.kt index a2731fb6..7e84f18f 100644 --- a/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/LoggingFilter.kt +++ b/rest/fints4kRest/src/main/kotlin/net/dankito/banking/fints/rest/LoggingFilter.kt @@ -28,8 +28,8 @@ class LoggingFilter : ContainerResponseFilter { + System.lineSeparator() + getHeadersAsString(responseContext) + System.lineSeparator() + getBodyAsString(responseContext)) } - else if (log.isDebugEnabled) { - log.debug("Result of request ${geRequestUrl(requestContext)}: ${getResponseStatus(responseContext)}" + else if (log.isInfoEnabled) { + log.info("Result of request ${geRequestUrl(requestContext)}: ${getResponseStatus(responseContext)}" + System.lineSeparator() + getHeadersAsString(responseContext) + System.lineSeparator() + getBodyAsString(responseContext)) } diff --git a/rest/fints4kRest/src/main/resources/application.properties b/rest/fints4kRest/src/main/resources/application.properties index df7c19ea..0793aed7 100644 --- a/rest/fints4kRest/src/main/resources/application.properties +++ b/rest/fints4kRest/src/main/resources/application.properties @@ -2,4 +2,10 @@ quarkus.http.port=5555 # enable https support in native builds quarkus.native.enable-https-url-handler=true -quarkus.native.enable-all-security-services=true \ No newline at end of file +quarkus.native.enable-all-security-services=true + +quarkus.log.level=WARN +# FinTS messages are logged on DEBUG +quarkus.log.category."net.dankito.banking.fints.log.MessageLogCollector".level=INFO +# REST responses are logged on INFO +quarkus.log.category."net.dankito.banking.fints.rest.LoggingFilter".level=WARN \ No newline at end of file diff --git a/ui/BankingJavaFxApp/src/main/resources/logback.xml b/ui/BankingJavaFxApp/src/main/resources/logback.xml index f7d8076b..a834f04d 100755 --- a/ui/BankingJavaFxApp/src/main/resources/logback.xml +++ b/ui/BankingJavaFxApp/src/main/resources/logback.xml @@ -25,7 +25,7 @@ - DEBUG + INFO