From 655c0ddcadef9c49a254cd6b2adeff21dc51053a Mon Sep 17 00:00:00 2001 From: Alejo Thomas Ortega Date: Tue, 1 Oct 2024 12:40:38 -0300 Subject: [PATCH] chore: enhance logging when publishing events to new SNS (#501) --- src/adapters/deployer/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/adapters/deployer/index.ts b/src/adapters/deployer/index.ts index f1368a3..61d1eb9 100644 --- a/src/adapters/deployer/index.ts +++ b/src/adapters/deployer/index.ts @@ -63,8 +63,8 @@ export function createDeployerComponent( }) ) logger.info('Notification sent', { - MessageId: receipt.MessageId as any, - SequenceNumber: receipt.SequenceNumber as any + messageId: receipt.MessageId as any, + sequenceNumber: receipt.SequenceNumber as any }) }) } @@ -77,8 +77,9 @@ export function createDeployerComponent( }) ) logger.info('Notification sent to events SNS', { - MessageId: receipt.MessageId as any, - SequenceNumber: receipt.SequenceNumber as any + messageId: receipt.MessageId as any, + sequenceNumber: receipt.SequenceNumber as any, + entityId: deploymentToSqs.entity.entityId }) }