diff options
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index 7bf2354..fdcdcaf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,6 +43,7 @@ new MongoClient(MONGO_URI, { useUnifiedTopology: true }).connect( app.use( expressWinston.logger({ ...logger_config("HTTP"), + colorize: true, // filter out token query param from URL msg: '{{req.method}} {{req.url.replace(/token=[-\\w.~]*(&*)/, "token=$1")}} - {{res.statusCode}} {{res.responseTime}}ms' |
