Skip to content

Commit cd1ce45

Browse files
committed
CCM-13146 remove logging of info generated from process environment variables
1 parent 9544c65 commit cd1ce45

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/utils/src/event-publisher/event-publisher.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,13 @@ export class EventPublisher {
5555
const failedEvents: CloudEvent[] = [];
5656
this.logger.info({
5757
description: `Sending ${events.length} events to EventBridge`,
58-
eventBusArn: this.config.eventBusArn,
5958
eventCount: events.length,
6059
});
6160

6261
for (let i = 0; i < events.length; i += MAX_BATCH_SIZE) {
6362
const batch = events.slice(i, i + MAX_BATCH_SIZE);
6463
this.logger.info({
6564
description: `Sending batch of ${batch.length} events to EventBridge`,
66-
eventBusArn: this.config.eventBusArn,
6765
batchSize: batch.length,
6866
});
6967

@@ -120,7 +118,6 @@ export class EventPublisher {
120118

121119
this.logger.warn({
122120
description: 'Sending failed events to DLQ',
123-
dlqUrl: this.config.dlqUrl,
124121
eventCount: events.length,
125122
reason,
126123
});
@@ -170,7 +167,6 @@ export class EventPublisher {
170167
this.logger.warn({
171168
description: 'DLQ send error',
172169
err: error,
173-
dlqUrl: this.config.dlqUrl,
174170
batchSize: batch.length,
175171
});
176172
failedDlqs.push(...batch);
@@ -181,7 +177,6 @@ export class EventPublisher {
181177
this.logger.error({
182178
description: 'Failed to send events to DLQ',
183179
failedEventCount: failedDlqs.length,
184-
dlqUrl: this.config.dlqUrl,
185180
});
186181
}
187182

0 commit comments

Comments
 (0)