some logging INFO -> TRACE
This commit is contained in:
parent
d759f08225
commit
8c2fed4e1c
@ -627,7 +627,7 @@ export async function updateExchangeFromUrlHandler(
|
||||
AbsoluteTime.fromPreciseTimestamp(exchange.nextUpdate),
|
||||
)
|
||||
) {
|
||||
logger.info("using existing exchange info");
|
||||
logger.trace("using existing exchange info");
|
||||
|
||||
if (options.checkMasterPub) {
|
||||
if (exchangeDetails.masterPublicKey !== options.checkMasterPub) {
|
||||
@ -638,7 +638,7 @@ export async function updateExchangeFromUrlHandler(
|
||||
return TaskRunResult.finished();
|
||||
}
|
||||
|
||||
logger.info("updating exchange /keys info");
|
||||
logger.trace("updating exchange /keys info");
|
||||
|
||||
const timeout = getExchangeRequestTimeout();
|
||||
|
||||
@ -654,7 +654,7 @@ export async function updateExchangeFromUrlHandler(
|
||||
}
|
||||
}
|
||||
|
||||
logger.info("updating exchange /wire info");
|
||||
logger.trace("updating exchange /wire info");
|
||||
const wireInfoDownload = await downloadExchangeWireInfo(
|
||||
exchangeBaseUrl,
|
||||
ws.http,
|
||||
|
@ -309,7 +309,7 @@ async function refreshCreateSession(
|
||||
};
|
||||
await tx.refreshGroups.put(rg);
|
||||
});
|
||||
logger.info(
|
||||
logger.trace(
|
||||
`created refresh session for coin #${coinIndex} in ${refreshGroupId}`,
|
||||
);
|
||||
}
|
||||
@ -577,7 +577,7 @@ async function refreshReveal(
|
||||
refreshGroupId: string,
|
||||
coinIndex: number,
|
||||
): Promise<void> {
|
||||
logger.info(
|
||||
logger.trace(
|
||||
`doing refresh reveal for ${refreshGroupId} (old coin ${coinIndex})`,
|
||||
);
|
||||
const d = await ws.db
|
||||
@ -786,7 +786,7 @@ export async function processRefreshGroup(
|
||||
refreshGroupId: string,
|
||||
options: Record<string, never> = {},
|
||||
): Promise<TaskRunResult> {
|
||||
logger.info(`processing refresh group ${refreshGroupId}`);
|
||||
logger.trace(`processing refresh group ${refreshGroupId}`);
|
||||
|
||||
const refreshGroup = await ws.db
|
||||
.mktx((x) => [x.refreshGroups])
|
||||
@ -855,7 +855,7 @@ async function processRefreshSession(
|
||||
refreshGroupId: string,
|
||||
coinIndex: number,
|
||||
): Promise<void> {
|
||||
logger.info(
|
||||
logger.trace(
|
||||
`processing refresh session for coin ${coinIndex} of group ${refreshGroupId}`,
|
||||
);
|
||||
let refreshGroup = await ws.db
|
||||
@ -1078,7 +1078,7 @@ export async function createRefreshGroup(
|
||||
|
||||
await tx.refreshGroups.put(refreshGroup);
|
||||
|
||||
logger.info(`created refresh group ${refreshGroupId}`);
|
||||
logger.trace(`created refresh group ${refreshGroupId}`);
|
||||
|
||||
return {
|
||||
refreshGroupId,
|
||||
@ -1119,7 +1119,7 @@ export async function autoRefresh(
|
||||
ws: InternalWalletState,
|
||||
exchangeBaseUrl: string,
|
||||
): Promise<TaskRunResult> {
|
||||
logger.info(`doing auto-refresh check for '${exchangeBaseUrl}'`);
|
||||
logger.trace(`doing auto-refresh check for '${exchangeBaseUrl}'`);
|
||||
|
||||
// We must make sure that the exchange is up-to-date so that
|
||||
// can refresh into new denominations.
|
||||
@ -1186,13 +1186,13 @@ export async function autoRefresh(
|
||||
refreshCoins,
|
||||
RefreshReason.Scheduled,
|
||||
);
|
||||
logger.info(
|
||||
logger.trace(
|
||||
`created refresh group for auto-refresh (${res.refreshGroupId})`,
|
||||
);
|
||||
}
|
||||
logger.trace(
|
||||
`current wallet time: ${AbsoluteTime.toIsoString(AbsoluteTime.now())}`,
|
||||
);
|
||||
// logger.trace(
|
||||
// `current wallet time: ${AbsoluteTime.toIsoString(AbsoluteTime.now())}`,
|
||||
// );
|
||||
logger.trace(
|
||||
`next refresh check at ${AbsoluteTime.toIsoString(minCheckThreshold)}`,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user