diff options
author | Florian Dold <florian@dold.me> | 2023-10-23 16:04:28 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-23 16:04:40 +0200 |
commit | 39600bcd74a92e3444b5ba66480ce4a5dc225c72 (patch) | |
tree | 5f51ef531e5fbce2da575321ef2c3b724f6e9793 /packages | |
parent | 1608b872a8d501865eba229664fcc9fa1669c573 (diff) |
-logging
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts b/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts index 48cbf574f..e7cf22187 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts @@ -401,7 +401,9 @@ export async function confirmPeerPullDebit( const instructedAmount = Amounts.parseOrThrow(peerPullInc.amount); const coinSelRes = await selectPeerCoins(ws, { instructedAmount }); - logger.info(`selected p2p coins (pull): ${j2s(coinSelRes)}`); + if (logger.shouldLogTrace()) { + logger.trace(`selected p2p coins (pull): ${j2s(coinSelRes)}`); + } if (coinSelRes.type !== "success") { throw TalerError.fromDetail( @@ -568,7 +570,9 @@ export async function preparePeerPullDebit( const instructedAmount = Amounts.parseOrThrow(contractTerms.amount); const coinSelRes = await selectPeerCoins(ws, { instructedAmount }); - logger.info(`selected p2p coins (pull): ${j2s(coinSelRes)}`); + if (logger.shouldLogTrace()) { + logger.trace(`selected p2p coins (pull): ${j2s(coinSelRes)}`); + } if (coinSelRes.type !== "success") { throw TalerError.fromDetail( |