[issue #39] Fix a bug with client_req
handling in the default output of the bunyan
CLI.
This commit is contained in:
parent
a8afc4c30e
commit
44c54f4167
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
## bunyan 0.13.5 (not yet released)
|
## bunyan 0.13.5 (not yet released)
|
||||||
|
|
||||||
(nothing yet)
|
- [issue #39] Fix a bug with `client_req` handling in the default output
|
||||||
|
of the `bunyan` CLI.
|
||||||
|
|
||||||
|
|
||||||
## bunyan 0.13.4
|
## bunyan 0.13.4
|
||||||
|
|
|
@ -662,7 +662,7 @@ function emitRecord(rec, line, opts, stylize) {
|
||||||
delete client_req.port;
|
delete client_req.port;
|
||||||
s += format("%s %s HTTP/%s\n%s%s", client_req.method,
|
s += format("%s %s HTTP/%s\n%s%s", client_req.method,
|
||||||
client_req.url,
|
client_req.url,
|
||||||
req.client_req.httpVersion || "1.1",
|
client_req.httpVersion || "1.1",
|
||||||
hostHeaderLine,
|
hostHeaderLine,
|
||||||
Object.keys(headers).map(
|
Object.keys(headers).map(
|
||||||
function (h) { return h + ': ' + headers[h]; }).join('\n'));
|
function (h) { return h + ': ' + headers[h]; }).join('\n'));
|
||||||
|
|
Loading…
Reference in a new issue