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

Commit

Permalink
fix: configure nestedKey in logger to avoid invalid json (#568)
Browse files Browse the repository at this point in the history
Co-authored-by: mycodeself <[email protected]>
  • Loading branch information
mycodeself and mycodeself authored Nov 26, 2020
1 parent ed9f23d commit a430320
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 @@ -41,7 +41,8 @@ const logger = pino({
level (label, number) {
return { level: envConfig.useHumanReadableLogLevels ? label : number }
}
}
},
nestedKey: 'payload'
})

const customResourceManager = new CustomResourceManager({
Expand Down

0 comments on commit a430320

Please sign in to comment.