This commit is contained in:
2026-03-07 15:47:14 -06:00
parent 3ab46f163a
commit 12af8577f3
2 changed files with 11 additions and 8 deletions

View File

@@ -103,12 +103,15 @@ function ensureFileStream(): WriteStream | null {
// ---------------------------------------------------------------------------
const logger = pino({
level: 'info',
formatters: {
level(label) {
return { level: label };
},
},
timestamp: pino.stdTimeFunctions.isoTime,
transport: {
target: 'pino-pretty',
options: {
colorize: true,
translateTime: 'SYS:yyyy-mm-dd HH:MM:ss',
ignore: 'pid,hostname',
singleLine: true
}
}
});
// ---------------------------------------------------------------------------