benbria / bunyan-debug-stream

A stream for bunyan that writes log entries as human readable output.
MIT License
30 stars 9 forks source link

Shouldn't log headers and header #1

Closed jwalton closed 5 years ago

jwalton commented 9 years ago

Right now, if you're using bunyanDebugStream.serializers.req, then we end up logging a header and a headers field. These are basically the same, the only difference is that headers splits out each header into it's own field.

We should remove one of these. If header is present, bunyan-debug-stream should parse out the content-length.