Commit 828e197
authored
Stop logging all finished requests to reduce log noise (nodejs#176)
Thought I'd do a rounds of much needed cleanup on this bot, starting with the logs.
So far we have been logging absolutely *all* finished requests which results in a lot of noise in logs.
Local example:
```
$ npm start
..
12:13:32.529Z INFO bot: Listening on port 3000
12:13:34.468Z INFO bot: request finish (req_id=8812b800-6bde-11e8-add8-f393315a261f, duration=3.191551, req.query={}, req.remoteAddress=::1, req.remotePort=63894)
GET /ping HTTP/1.1
host: localhost:3000
user-agent: curl/7.54.0
accept: */*
--
HTTP/1.1 200 OK
X-Powered-By: Express
X-Request-Id: 8812b800-6bde-11e8-add8-f393315a261f
Date: Sat, 09 Jun 2018 12:13:34 GMT
Connection: keep-alive
Content-Length: 4
```
Personally cannot remember once where this request information has actually been valuable. If it turns out I'm wrong, we could easily enable this again if needed for debugging purposes.
/cc @nodejs/github-bot1 parent c1c2ad3 commit 828e197
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments