Skip to content

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

fix spelling and update logs path

Maidul Islam06dd55888e65
diff --git a/backend/src/ee/services/audit-log/audit-log-queue.ts b/backend/src/ee/services/audit-log/audit-log-queue.ts
index 5af81e5e1f..6f2c93221a 100644
--- a/backend/src/ee/services/audit-log/audit-log-queue.ts
+++ b/backend/src/ee/services/audit-log/audit-log-queue.ts
@@ -63,7 +63,7 @@ export const auditLogQueueServiceFactory = ({
queueService.start(QueueName.AuditLogPrune, async () => {
logger.info(`${QueueName.AuditLogPrune}: queue task started`);
await auditLogDAL.pruneAuditLog();
- logger.info(`${QueueName.AuditLogPrune}: queue task competed`);
+ logger.info(`${QueueName.AuditLogPrune}: queue task completed`);
});
// we do a repeat cron job in utc timezone at 12 Midnight each day
diff --git a/backend/src/lib/logger/logger.ts b/backend/src/lib/logger/logger.ts
index 1cf4d11b84..f39ce99c9c 100644
--- a/backend/src/lib/logger/logger.ts
+++ b/backend/src/lib/logger/logger.ts
@@ -37,7 +37,7 @@ export const initLogger = async () => {
level: "info",
target: "pino/file",
options: {
- destination: cfg.NODE_ENV === "development" ? 1 : "/var/log/infisical",
+ destination: cfg.NODE_ENV === "development" ? 1 : "/var/logs/infisical.log",
mkdir: true
}
}