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

View File

@@ -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

View File

@@ -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
}
}