From a07bd5ad40b0c6876877ac4a05f6b6a6f39a34ba Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 1 Nov 2023 16:49:31 -0400 Subject: [PATCH] add log to secretRotationQueue process --- backend/src/ee/secretRotation/queue/queue.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/ee/secretRotation/queue/queue.ts b/backend/src/ee/secretRotation/queue/queue.ts index ff63d32c7..0127bbd9c 100644 --- a/backend/src/ee/secretRotation/queue/queue.ts +++ b/backend/src/ee/secretRotation/queue/queue.ts @@ -30,6 +30,7 @@ import { const secretRotationQueue = new Queue("secret-rotation-service", process.env.REDIS_URL as string); secretRotationQueue.process(async (job: Job) => { + logger.info(`secretRotationQueue.process: [rotationDocument=${job.data.rotationDocId}]`); const rotationStratDocId = job.data.rotationDocId; const secretRotation = await SecretRotation.findById(rotationStratDocId) .select("+encryptedData +encryptedDataTag +encryptedDataIV +keyEncoding")