Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add log to secretRotationQueue process

Maidul Islama07bd5ad40b0
diff --git a/backend/src/ee/secretRotation/queue/queue.ts b/backend/src/ee/secretRotation/queue/queue.ts
index ff63d32c7c..0127bbd9c4 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")