-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Description
Maybe I am missing something, but it seems like the new formatting stuff from winston v3 gets ignored:
app.use(expressWinston.logger({
format: format.combine(
format.timestamp(),
format.colorize(),
format.prettyPrint(),
),
transports: [
new transports.File({
filename: '/var/log/node/fe-access.log',
maxsize: 1000000,
maxFiles: 2,
tailable: true,
eol: '\r\n\r\n'
})
]
}))
Am I doing something wrong here? it seems like most of the readme examples are still for express-winston 2.x
edit: seems like #190 takes care of the format
being ignored
senseysensor
Metadata
Metadata
Assignees
Labels
No labels