mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix spelling and update logs path
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user