Merge pull request #2937 from Lempkey/fix/logger-respect-tz-env

fix: use SYS: prefix in pino-pretty so log timestamps honour TZ env var
This commit is contained in:
Dotta 2026-04-07 17:00:51 -05:00 committed by GitHub
commit 3cd9a54d94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 100 additions and 1 deletions

View file

@ -21,7 +21,7 @@ fs.mkdirSync(logDir, { recursive: true });
const logFile = path.join(logDir, "server.log");
const sharedOpts = {
translateTime: "HH:MM:ss",
translateTime: "SYS:HH:MM:ss",
ignore: "pid,hostname",
singleLine: true,
};