fix spelling and update logs path

This commit is contained in:
Maidul Islam
2024-01-31 13:49:25 -05:00
parent 7711994018
commit 06dd55888e
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ export const auditLogQueueServiceFactory = ({
queueService.start(QueueName.AuditLogPrune, async () => { queueService.start(QueueName.AuditLogPrune, async () => {
logger.info(`${QueueName.AuditLogPrune}: queue task started`); logger.info(`${QueueName.AuditLogPrune}: queue task started`);
await auditLogDAL.pruneAuditLog(); 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 // we do a repeat cron job in utc timezone at 12 Midnight each day
+1 -1
View File
@@ -37,7 +37,7 @@ export const initLogger = async () => {
level: "info", level: "info",
target: "pino/file", target: "pino/file",
options: { options: {
destination: cfg.NODE_ENV === "development" ? 1 : "/var/log/infisical", destination: cfg.NODE_ENV === "development" ? 1 : "/var/logs/infisical.log",
mkdir: true mkdir: true
} }
} }