Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Turn of Express formatting to avoid colored log output.
Browse files Browse the repository at this point in the history
  • Loading branch information
onefrankguy committed Jun 13, 2016
1 parent c1b10a2 commit 00b1a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function RequestLogger(logger, level) {

return expressWinston.logger({
winstonInstance: logger,
expressFormat: true,
expressFormat: false,
msg: "{{req.method}} {{req.url}} {{res.statusCode}} {{res.responseTime}}ms",
level: logLevel,
baseMeta: {sourceName: 'request'}
Expand Down

0 comments on commit 00b1a71

Please sign in to comment.