commit 918d837a72ff6cf0a89046e3b2861fe4cf4aa982 parent 8d9cd3a64cff1371aa1775fbac5d7bc4a2032a16 Author: MS <ms@taler.net> Date: Sun, 12 Jun 2022 10:48:56 +0200 logging Diffstat:
| M | nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt | | | 2 | +- |
| M | sandbox/src/main/kotlin/tech/libeufin/sandbox/XMLEbicsConverter.kt | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt @@ -36,7 +36,7 @@ import java.util.* private val logger: Logger = LoggerFactory.getLogger("tech.libeufin.util") private suspend inline fun HttpClient.postToBank(url: String, body: String): String { - logger.debug("Posting: $body") + // logger.debug("Posting: $body") if (!XMLUtil.validateFromString(body)) throw NexusError( HttpStatusCode.InternalServerError, "EBICS (outgoing) document is invalid" diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/XMLEbicsConverter.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/XMLEbicsConverter.kt @@ -35,7 +35,7 @@ class XMLEbicsConverter : ContentConverter { * Not always a error: the content negotiation might have * only checked if this handler could convert the response. */ - logger.debug("Could not convert XML to string with custom converter.") + logger.info("Could not use XML custom converter for this response.") return null } return OutputStreamContent({