commit d0740673b43e067bbccb59580e4a08b784469b66 parent 82f940fca3a0ab83d238db04f629ea89102a303c Author: Antoine A <> Date: Tue, 10 Jun 2025 15:01:53 +0200 nexus: improve logging Diffstat:
| M | nexus/src/main/kotlin/tech/libeufin/nexus/cli/Manual.kt | | | 2 | +- |
| M | nexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt | | | 1 | - |
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/cli/Manual.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/cli/Manual.kt @@ -96,7 +96,7 @@ class ImportCmt: CliktCommand("import") { source.use { xml -> nbTx += registerTxs(db, cfg, xml) } - println("Imported $nbTx transactions from $source") + logger.info("Imported $nbTx transactions from $source") } } } diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/iso20022/camt.kt @@ -403,7 +403,6 @@ private fun XmlDestructor.complexAmount(): ComplexAmount? { creditFee += amount } } - println("FUUCK $amount $converted $computed $creditFee $overflow") if (computed != null && (amount != computed || overflow)) { val diff = if (overflow) { computed + amount