aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-19 13:58:13 +0100
committerChocobozzz <me@florianbigard.com>2018-01-19 13:58:13 +0100
commit23e27dd53599be65b2dc2968448ce155a00a96c9 (patch)
treecd7e5c88a345584a25c7ea03a81332b804d082d6 /server.ts
parentc7a9f34f7229529ea726de13867f87c0a8dd3007 (diff)
downloadPeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.tar.gz
PeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.tar.zst
PeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.zip
Add ability to configure log level
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 99077a173..a138b6359 100644
--- a/server.ts
+++ b/server.ts
@@ -82,7 +82,7 @@ if (isTestInstance()) {
82 82
83// For the logger 83// For the logger
84app.use(morgan('combined', { 84app.use(morgan('combined', {
85 stream: { write: logger.info } 85 stream: { write: logger.info.bind(logger) }
86})) 86}))
87// For body requests 87// For body requests
88app.use(bodyParser.json({ 88app.use(bodyParser.json({