Skip to content

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

Improve lock logging

x032205640dccadb76b
diff --git a/backend/src/services/identity-ua/identity-ua-service.ts b/backend/src/services/identity-ua/identity-ua-service.ts
index 8dacccf607..5977476830 100644
--- a/backend/src/services/identity-ua/identity-ua-service.ts
+++ b/backend/src/services/identity-ua/identity-ua-service.ts
@@ -92,7 +92,9 @@ export const identityUaServiceFactory = ({
retryJitter: 100
});
} catch (e) {
- logger.info(`login failed to acquire lock [lockoutKey=${LOCKOUT_KEY}]`);
+ logger.info(
+ `identity login failed to acquire lock [identityId=${identityUa.identityId}] [authMethod=${IdentityAuthMethod.UNIVERSAL_AUTH}]`
+ );
throw new RateLimitError({ message: "Rate limit exceeded" });
}