Commit 9c709584c2ac8d80f75dc298df558e846cba78e9
1 parent
b03e7bb2f5
Exists in
master
and in
1 other branch
Disable morgan
Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff
lib/apiserver/index.js
... | ... | @@ -9,12 +9,12 @@ const handlerOnReceived = require('./handler/on-received'); |
9 | 9 | |
10 | 10 | const app = express(); |
11 | 11 | |
12 | -const accessLogStream = rfs('access_log', { | |
13 | - interval: '1d', | |
14 | - path: './logs', | |
15 | -}); | |
12 | +// const accessLogStream = rfs('access_log', { | |
13 | +// interval: '1d', | |
14 | +// path: './logs', | |
15 | +// }); | |
16 | 16 | |
17 | -app.use(morgan, 'combined', { stream: accessLogStream }); | |
17 | +// app.use(morgan, 'combined', { stream: accessLogStream }); | |
18 | 18 | |
19 | 19 | app.get('/ping', (req, res) => { res.end('PONG'); }); |
20 | 20 | app.get('/service', handlerOnReceived); |