From f423aa53554cbd264f2963ba73b7617b0d14a639 Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Sun, 18 Feb 2024 08:00:23 +0100 Subject: [PATCH] chore(azure): increase logging when determining merge method (#27382) --- lib/modules/platform/azure/azure-helper.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/modules/platform/azure/azure-helper.ts b/lib/modules/platform/azure/azure-helper.ts index d4c2ade19a1559..e215c7a7c8f739 100644 --- a/lib/modules/platform/azure/azure-helper.ts +++ b/lib/modules/platform/azure/azure-helper.ts @@ -119,6 +119,9 @@ export async function getMergeMethod( branchRef?: string | null, defaultBranch?: string, ): Promise { + logger.debug( + `getMergeMethod(branchRef=${branchRef}, defaultBranch=${defaultBranch})`, + ); type Scope = { repositoryId: string; refName?: string; @@ -152,9 +155,9 @@ export async function getMergeMethod( .filter((p) => p.settings.scope.some(isRelevantScope)) .map((p) => p.settings)[0]; - logger.trace( + logger.debug( // TODO: types (#22198) - `getMergeMethod(${repoId}, ${project}, ${branchRef!}) determining mergeMethod from matched policy:\n${JSON.stringify( + `getMergeMethod(branchRef=${branchRef!}) determining mergeMethod from matched policy:\n${JSON.stringify( policyConfigurations, null, 4,