diff --git a/changelog.d/473.bugfix b/changelog.d/473.bugfix new file mode 100644 index 00000000..5cadb1d1 --- /dev/null +++ b/changelog.d/473.bugfix @@ -0,0 +1 @@ +Log noisy "Got GitHub webhook event" log line at debug level. diff --git a/src/Webhooks.ts b/src/Webhooks.ts index 1556900b..fd7b5c31 100644 --- a/src/Webhooks.ts +++ b/src/Webhooks.ts @@ -124,7 +124,7 @@ export class Webhooks extends EventEmitter { private async onGitHubPayload({id, name, payload}: EmitterWebhookEvent) { const action = (payload as unknown as {action: string|undefined}).action; const eventName = `github.${name}${action ? `.${action}` : ""}`; - log.info(`Got GitHub webhook event ${id} ${eventName}`, payload); + log.debug(`Got GitHub webhook event ${id} ${eventName}`, payload); try { await this.queue.push({ eventName,