Skip to content

Commit

Permalink
fix: timestamp format changed from unix to ISO string for pino logger
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash-sivan committed Jan 16, 2025
1 parent ae09b14 commit 9193e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/collector/src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ exports.init = function init(config, isReInit) {
{
...parentLogger.levels,
level: parentLogger.level || 'info',
base: parentLogger.bindings()
base: parentLogger.bindings(),
timestamp: () => `,"time":"${new Date().toISOString()}"`
},
multiStream
);
Expand Down

0 comments on commit 9193e61

Please sign in to comment.