gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: Reduce logging


From: gnunet
Subject: [taler-wallet-core] branch master updated: Reduce logging
Date: Tue, 24 Oct 2023 20:02:26 +0200

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 493c0a76d Reduce logging
493c0a76d is described below

commit 493c0a76d5aad59104fbdc2a6d7f72a867404b6e
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Oct 24 20:02:15 2023 +0200

    Reduce logging
---
 packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts | 3 ++-
 packages/taler-wallet-core/src/wallet.ts                         | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts 
b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
index 50ae8d41b..284486506 100644
--- a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
+++ b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts
@@ -616,7 +616,8 @@ export async function initiatePeerPushDebit(
 
   const sel = coinSelRes.result;
 
-  logger.info(`selected p2p coins (push): ${j2s(coinSelRes)}`);
+  logger.info(`selected p2p coins (push):`);
+  logger.trace(`${j2s(coinSelRes)}`);
 
   const totalAmount = await getTotalPeerPaymentCost(
     ws,
diff --git a/packages/taler-wallet-core/src/wallet.ts 
b/packages/taler-wallet-core/src/wallet.ts
index b3f8057a6..f524a7096 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -418,7 +418,7 @@ async function runTaskLoop(
   ws: InternalWalletState,
   opts: RetryLoopOpts = {},
 ): Promise<TaskLoopResult> {
-  logger.info(`running task loop opts=${j2s(opts)}`);
+  logger.trace(`running task loop opts=${j2s(opts)}`);
   if (ws.isTaskLoopRunning) {
     logger.warn(
       "task loop already running, nesting the wallet-core task loop is 
deprecated and should be avoided",
@@ -453,7 +453,7 @@ async function runTaskLoop(
       numDue++;
     }
 
-    logger.info(
+    logger.trace(
       `running task loop, iter=${iteration}, 
#tasks=${pending.pendingOperations.length} #lifeness=${numGivingLiveness}, 
#due=${numDue}`,
     );
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]