summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2023-11-28 10:07:25 +0100
committerMarc Stibane <marc@taler.net>2023-11-28 10:07:25 +0100
commitd2231425a45d465308e753ac09a5115cbf88c3e9 (patch)
tree6e1ba6ac65cfb5287d926ffa4659609ded3938b4 /packages
parent94d741f3c86f6304771366a7ebe36bd4bb856093 (diff)
downloadwallet-core-d2231425a45d465308e753ac09a5115cbf88c3e9.tar.gz
wallet-core-d2231425a45d465308e753ac09a5115cbf88c3e9.tar.bz2
wallet-core-d2231425a45d465308e753ac09a5115cbf88c3e9.zip
info -> trace
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts6
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts2
-rw-r--r--packages/taler-wallet-core/src/util/coinSelection.ts2
-rw-r--r--packages/taler-wallet-core/src/wallet.ts2
4 files changed, 6 insertions, 6 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 db4b63657..6cbd6bf47 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
@@ -235,7 +235,7 @@ async function processPeerPushDebitCreateReserve(
nonce: peerPushInitiation.contractEncNonce,
};
- logger.info(`encrypt contract request: ${j2s(encryptContractRequest)}`);
+ logger.trace(`encrypt contract request: ${j2s(encryptContractRequest)}`);
const econtractResp = await ws.cryptoApi.encryptContractForMerge(
encryptContractRequest,
@@ -261,7 +261,7 @@ async function processPeerPushDebitCreateReserve(
econtract: econtractResp.econtract,
};
- logger.info(`request body: ${j2s(reqBody)}`);
+ logger.trace(`request body: ${j2s(reqBody)}`);
const httpResp = await ws.http.fetch(createPurseUrl.href, {
method: "POST",
@@ -471,7 +471,7 @@ async function processPeerPushDebitReady(
ws: InternalWalletState,
peerPushInitiation: PeerPushDebitRecord,
): Promise<TaskRunResult> {
- logger.info("processing peer-push-debit pending(ready)");
+ logger.trace("processing peer-push-debit pending(ready)");
const pursePub = peerPushInitiation.pursePub;
const retryTag = constructTaskIdentifier({
tag: PendingTaskType.PeerPushDebit,
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts
index a5a6bded8..4673e1f0b 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -2262,7 +2262,7 @@ async function processReserveBankStatus(
r.wgInfo.bankInfo.timestampBankConfirmed = timestampPreciseToDb(now);
r.status = WithdrawalGroupStatus.PendingQueryingStatus;
} else {
- logger.info("withdrawal: transfer not yet confirmed by bank");
+ logger.trace("withdrawal: transfer not yet confirmed by bank");
r.wgInfo.bankInfo.confirmUrl = status.confirm_transfer_url;
r.senderWire = status.sender_wire;
}
diff --git a/packages/taler-wallet-core/src/util/coinSelection.ts b/packages/taler-wallet-core/src/util/coinSelection.ts
index 9506fff19..5928cd19b 100644
--- a/packages/taler-wallet-core/src/util/coinSelection.ts
+++ b/packages/taler-wallet-core/src/util/coinSelection.ts
@@ -369,7 +369,7 @@ export async function selectPayCoinsNew(
selInfo.maxAge,
CoinStatus.Fresh,
];
- logger.info(`query: ${j2s(query)}`);
+ logger.trace(`query: ${j2s(query)}`);
const coins =
await tx.coins.indexes.byExchangeDenomPubHashAndAgeAndStatus.getAll(
query,
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 4472bdbad..ebdab97d1 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -511,7 +511,7 @@ async function runTaskLoop(
if (!AbsoluteTime.isExpired(p.timestampDue)) {
continue;
}
- logger.info(`running task ${p.id}`);
+ logger.trace(`running task ${p.id}`);
await runTaskWithErrorReporting(ws, p.id, async () => {
return await callOperationHandler(ws, p);
});