diff --git a/lib/platform/bitbucket-server/index.ts b/lib/platform/bitbucket-server/index.ts index c0ae8761a4..7453a55b2e 100644 --- a/lib/platform/bitbucket-server/index.ts +++ b/lib/platform/bitbucket-server/index.ts @@ -618,7 +618,10 @@ export async function ensureComment( } if (!commentId) { await addComment(prNo, body); - logger.info({ repository: config.repository, prNo }, 'Comment added'); + logger.info( + { repository: config.repository, prNo, topic }, + 'Comment added' + ); } else if (commentNeedsUpdating) { await editComment(prNo, commentId, body); logger.info({ repository: config.repository, prNo }, 'Comment updated'); diff --git a/lib/platform/bitbucket/comments.ts b/lib/platform/bitbucket/comments.ts index dcff83a271..8c3b900ea8 100644 --- a/lib/platform/bitbucket/comments.ts +++ b/lib/platform/bitbucket/comments.ts @@ -83,7 +83,10 @@ export async function ensureComment( } if (!commentId) { await addComment(config, prNo, body); - logger.info({ repository: config.repository, prNo }, 'Comment added'); + logger.info( + { repository: config.repository, prNo, topic }, + 'Comment added' + ); } else if (commentNeedsUpdating) { await editComment(config, prNo, commentId, body); logger.info({ repository: config.repository, prNo }, 'Comment updated'); diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts index d207cc4acf..367b5bc39c 100644 --- a/lib/platform/github/index.ts +++ b/lib/platform/github/index.ts @@ -1043,7 +1043,10 @@ export async function ensureComment( } if (!commentId) { await addComment(issueNo, body); - logger.info({ repository: config.repository, issueNo }, 'Comment added'); + logger.info( + { repository: config.repository, issueNo, topic }, + 'Comment added' + ); } else if (commentNeedsUpdating) { await editComment(commentId, body); logger.info(