From 07b98a90ff6030c9546d56615da9ec51eb7b6e3f Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Wed, 22 Jun 2022 12:06:22 +0200 Subject: [PATCH] chore: improve/lower extract logging (#16181) --- lib/modules/manager/dockerfile/extract.ts | 4 +++- lib/modules/manager/gomod/extract.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/modules/manager/dockerfile/extract.ts b/lib/modules/manager/dockerfile/extract.ts index 3eae1cd46d..95d6d514ad 100644 --- a/lib/modules/manager/dockerfile/extract.ts +++ b/lib/modules/manager/dockerfile/extract.ts @@ -294,7 +294,9 @@ export function extractPackageFile(content: string): PackageFile | null { } if (fromMatch.groups?.name) { - logger.debug('Found a multistage build stage name'); + logger.debug( + `Found a multistage build stage name: ${fromMatch.groups.name}` + ); stageNames.push(fromMatch.groups.name); } if (fromImage === 'scratch') { diff --git a/lib/modules/manager/gomod/extract.ts b/lib/modules/manager/gomod/extract.ts index 8d91306a1d..ad2f898449 100644 --- a/lib/modules/manager/gomod/extract.ts +++ b/lib/modules/manager/gomod/extract.ts @@ -74,7 +74,7 @@ export function extractPackageFile(content: string): PackageFile | null { dep.managerData!.multiLine = true; deps.push(dep); } else if (line.trim() !== ')') { - logger.debug(`No multi-line match: ${line}`); + logger.trace(`No multi-line match: ${line}`); } } while (line.trim() !== ')'); } -- GitLab