Skip to content

Commit

Permalink
fix: configure nestedKey in logger to avoid invalid json (external-se…
Browse files Browse the repository at this point in the history
…crets#568)

Co-authored-by: mycodeself <[email protected]>
  • Loading branch information
mycodeself and mycodeself committed 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.