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

Commit

Permalink
fix(pino): messageKey option as root constructor property (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacopoDaeli authored Jul 27, 2020
1 parent 1517333 commit 22208b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ const kubeClient = new kube.Client({ backend: kubeBackend })

const logger = pino({
serializers: {
err: pino.stdSerializers.err,
messageKey: envConfig.logMessageKey || 'msg'
err: pino.stdSerializers.err
},
messageKey: envConfig.logMessageKey || 'msg',
level: envConfig.logLevel,
formatters: {
level (label, number) {
Expand Down

0 comments on commit 22208b0

Please sign in to comment.