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

Configure nestedKey in logger to avoid invalid json #568

Merged
merged 1 commit into from
Nov 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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