Closed kdrkrst closed 7 years ago
Hi, It seems logrotate does not use formatter. var output = common.log({ colorize: this.colorize, json: this.json, level: level, message: msg, meta: meta, stringify: this.stringify, timestamp: this.timestamp, prettyPrint: this.prettyPrint });
var output = common.log({ colorize: this.colorize, json: this.json, level: level, message: msg, meta: meta, stringify: this.stringify, timestamp: this.timestamp, prettyPrint: this.prettyPrint });
I have added a line formatter: this.formatter and issue seems vanished. Could you please evaluate this solution?
formatter: this.formatter
I have added a pull request to fix this issue as well, please merge if possible. @juttle
Hi, It seems logrotate does not use formatter.
var output = common.log({ colorize: this.colorize, json: this.json, level: level, message: msg, meta: meta, stringify: this.stringify, timestamp: this.timestamp, prettyPrint: this.prettyPrint });
I have added a line
formatter: this.formatter
and issue seems vanished. Could you please evaluate this solution?