This commit is contained in:
Andreas Knuth 2026-03-07 15:34:15 -06:00
parent 9586869c0c
commit 1d53f2d357
1 changed files with 9 additions and 6 deletions

View File

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