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({
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
}
}
});
// ---------------------------------------------------------------------------