mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 09:27:50 +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 () => {
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user