From ab9361a1706498f3925c955434ae66abaa7f42a4 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Mon, 24 Feb 2020 13:54:11 +0100 Subject: [PATCH] logs: Comment added info --- lib/platform/azure/index.ts | 2 +- lib/platform/bitbucket-server/index.ts | 2 +- lib/platform/bitbucket/comments.ts | 2 +- lib/platform/gitea/index.ts | 2 +- lib/platform/github/index.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/platform/azure/index.ts b/lib/platform/azure/index.ts index 3ef825b285..9768e68139 100644 --- a/lib/platform/azure/index.ts +++ b/lib/platform/azure/index.ts @@ -530,7 +530,7 @@ export async function ensureComment({ config.repoId, number ); - logger.debug( + logger.info( { repository: config.repository, issueNo: number, topic }, 'Comment added' ); diff --git a/lib/platform/bitbucket-server/index.ts b/lib/platform/bitbucket-server/index.ts index 121a92d9c4..1c8a70c1ae 100644 --- a/lib/platform/bitbucket-server/index.ts +++ b/lib/platform/bitbucket-server/index.ts @@ -847,7 +847,7 @@ export async function ensureComment({ } if (!commentId) { await addComment(number, body); - logger.debug( + logger.info( { repository: config.repository, prNo: number, topic }, 'Comment added' ); diff --git a/lib/platform/bitbucket/comments.ts b/lib/platform/bitbucket/comments.ts index 3c038ecef0..d4f4c8951c 100644 --- a/lib/platform/bitbucket/comments.ts +++ b/lib/platform/bitbucket/comments.ts @@ -95,7 +95,7 @@ export async function ensureComment({ } if (!commentId) { await addComment(config, prNo, body); - logger.debug( + logger.info( { repository: config.repository, prNo, topic }, 'Comment added' ); diff --git a/lib/platform/gitea/index.ts b/lib/platform/gitea/index.ts index 787d551091..b6ac40abeb 100644 --- a/lib/platform/gitea/index.ts +++ b/lib/platform/gitea/index.ts @@ -768,7 +768,7 @@ const platform: Platform = { // Create a new comment if no match has been found, otherwise update if necessary if (!comment) { const c = await helper.createComment(config.repository, issue, body); - logger.debug( + logger.info( { repository: config.repository, issue, comment: c.id }, 'Comment added' ); diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts index cfbcc1f2f3..dc9fff7a31 100644 --- a/lib/platform/github/index.ts +++ b/lib/platform/github/index.ts @@ -1586,7 +1586,7 @@ export async function ensureComment({ } if (!commentId) { await addComment(number, body); - logger.debug( + logger.info( { repository: config.repository, issueNo: number, topic }, 'Comment added' ); -- GitLab