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

fix(pino): messageKey option as root constructor property #455

Merged
merged 1 commit into from
Jul 27, 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
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