winston-daily-roate-file-1.4.2 makes a change where timestamp is not on by default anymore. (#3335)
see: aa28f52271
pretty incredible that they would release this as a patch release, but my fix is solid and defensive
chore(package): update winston-daily-rotate-file to version 1.4.2
https://greenkeeper.io/
This commit is contained in:
@@ -21,12 +21,12 @@ function updateTransports(options) {
|
||||
Object.assign({}, {
|
||||
filename: 'parse-server.info',
|
||||
name: 'parse-server',
|
||||
}, options));
|
||||
}, options, { timestamp: true }));
|
||||
transports['parse-server-error'] = new (DailyRotateFile)(
|
||||
Object.assign({}, {
|
||||
filename: 'parse-server.err',
|
||||
name: 'parse-server-error',
|
||||
}, options, { level: 'error'}));
|
||||
}, options, { level: 'error', timestamp: true }));
|
||||
}
|
||||
|
||||
transports.console = new (winston.transports.Console)(
|
||||
|
||||
Reference in New Issue
Block a user