Skip to content

Commit

Permalink
chore: improve/lower extract logging (#16181)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 22, 2022
1 parent dc34060 commit 07b98a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/modules/manager/dockerfile/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/gomod/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() !== ')');
}
Expand Down

0 comments on commit 07b98a9

Please sign in to comment.