Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix!: rename time field to avoid duplicate time key in log output
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigilenoci authored Mar 18, 2021
1 parent 82ff43e commit faf2093
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const logger = pino({
return { level: envConfig.useHumanReadableLogLevels ? label : number }
}
},
nestedKey: 'payload'
nestedKey: 'payload',
timestamp: () => `,"message_time":"${new Date(Date.now()).toISOString()}"`
})

const customResourceManager = new CustomResourceManager({
Expand Down

0 comments on commit faf2093

Please sign in to comment.