Skip to content
Myr

Changed Logger to onResponse, since status may not be set onRequest

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by csausdev · committed by TJ Holowaychuk · parent a3ca40e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express.core.js+1 added-1 removed
132 unmodified lines
133 }134 },135 136 Logger : {137 onRequest : {137 onResponse : {138 'output log data' : function(){139 puts('"' + Express.request.method + ' ' + Express.request.uri.path +140 ' HTTP/' + Express.request.httpVersion + '" - ' + Express.response.status)141 }
593 unmodified lines