diff --git a/lib/util/http/queue.ts b/lib/util/http/queue.ts index a645f905f193ffbd44a2daee83d7953c830e031a..731fecd1acd2d23ffbaa38b6527f33ccbe124dad 100644 --- a/lib/util/http/queue.ts +++ b/lib/util/http/queue.ts @@ -18,7 +18,7 @@ export function getQueue(url: string): PQueue | null { queue = null; // null represents "no queue", as opposed to undefined const concurrency = getRequestLimit(url); if (concurrency) { - logger.debug({ concurrency, host }, 'Using queue'); + logger.debug(`Using queue: host=${host}, concurrency=${concurrency}`); queue = new PQueue({ concurrency }); } else { logger.debug({ host }, 'No concurrency limits'); diff --git a/lib/workers/repository/package-files.ts b/lib/workers/repository/package-files.ts index 6bd9c43b3a17ed7421ebc29a3c406088ad520033..0dc26a8c7db3d62c1ad70231f3e98f9f4af1cc28 100644 --- a/lib/workers/repository/package-files.ts +++ b/lib/workers/repository/package-files.ts @@ -18,10 +18,7 @@ export class PackageFiles { } static clear(): void { - logger.debug( - { baseBranches: [...this.data.keys()] }, - 'PackageFiles.clear() - Package files deleted' - ); + logger.debug('PackageFiles.clear() - Package files deleted'); this.data.clear(); } diff --git a/lib/workers/repository/process/extract-update.ts b/lib/workers/repository/process/extract-update.ts index 2ca6d3344aa023f8d4e339573f5918ade7e52742..44894838d2a509bef33d6b33edcf579be55b3fe4 100644 --- a/lib/workers/repository/process/extract-update.ts +++ b/lib/workers/repository/process/extract-update.ts @@ -79,7 +79,9 @@ export async function extract( cachedExtract?.sha === baseBranchSha && cachedExtract?.configHash === configHash ) { - logger.debug({ baseBranch, baseBranchSha }, 'Found cached extract'); + logger.debug( + `Found cached extract for ${baseBranch!} (sha=${baseBranchSha})` + ); packageFiles = cachedExtract.packageFiles; try { for (const files of Object.values(packageFiles)) { diff --git a/lib/workers/repository/process/write.ts b/lib/workers/repository/process/write.ts index 7b8600fc104c2c950faafdbecea5a6dd1733ed7b..66bca98b1e3e8c1270a2a251126bfbc8d2f8b03c 100644 --- a/lib/workers/repository/process/write.ts +++ b/lib/workers/repository/process/write.ts @@ -102,13 +102,12 @@ export async function writeUpdates( .join(', ')}` ); const prsRemaining = await getPrsRemaining(config, branches); - logger.debug({ prsRemaining }, 'Calculated maximum PRs remaining this run'); + logger.debug(`Calculated maximum PRs remaining this run: ${prsRemaining}`); setMaxLimit(Limit.PullRequests, prsRemaining); const branchesRemaining = await getBranchesRemaining(config, branches); logger.debug( - { branchesRemaining }, - 'Calculated maximum branches remaining this run' + `Calculated maximum branches remaining this run: ${branchesRemaining}` ); setMaxLimit(Limit.Branches, branchesRemaining);