From 0c1ec44660f6c69e1aa1adc421b2566261372a2e Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Mon, 1 Jul 2024 13:32:00 +0200 Subject: [PATCH] Fix logger usage after merge. --- packages/service-core/src/storage/mongo/MongoBucketBatch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/service-core/src/storage/mongo/MongoBucketBatch.ts b/packages/service-core/src/storage/mongo/MongoBucketBatch.ts index 4d40750..a1b6181 100644 --- a/packages/service-core/src/storage/mongo/MongoBucketBatch.ts +++ b/packages/service-core/src/storage/mongo/MongoBucketBatch.ts @@ -244,7 +244,7 @@ export class MongoBucketBatch implements BucketStorageBatch { existing_buckets = []; existing_lookups = []; // Log to help with debugging if there was a consistency issue - micro.logger.warn( + logger.warn( `Cannot find previous record for update on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}` ); } else { @@ -260,7 +260,7 @@ export class MongoBucketBatch implements BucketStorageBatch { existing_buckets = []; existing_lookups = []; // Log to help with debugging if there was a consistency issue - micro.logger.warn( + logger.warn( `Cannot find previous record for delete on ${record.sourceTable.qualifiedName}: ${beforeId} / ${record.before?.id}` ); } else {