Skip to content

Commit 9b5d392

Browse files
authored
chore: change pino's default timestamp format (#302)
1 parent b4689a9 commit 9b5d392

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/utils/logger.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import pino from 'pino';
33
const logger = pino({
44
name: 'homeserver',
55
level: process.env.LOG_LEVEL || 'info',
6+
timestamp: pino.stdTimeFunctions.isoTime,
67
transport:
78
process.env.NODE_ENV === 'development'
89
? {

0 commit comments

Comments
 (0)