Skip to content

Commit

Permalink
fix: changed internal logger timestamp to ISO string (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash-sivan authored Jan 16, 2025
1 parent d981bf2 commit 0a6af07
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 0a6af07

Please sign in to comment.