File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -119,16 +119,6 @@ module.exports = function (options, logger) {
119
119
res . log [ level ] ( reqFinishData , 'request finish' )
120
120
} )
121
121
122
- res . on ( 'close' , function ( ) {
123
- res . log . warn (
124
- { req : req
125
- , res : res
126
- , duration : getDuration ( start )
127
- }
128
- , 'request socket closed'
129
- )
130
- } )
131
-
132
122
next ( )
133
123
}
134
124
}
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " bunyan-middleware" ,
3
- "version" : " 0.8.0" ,
2
+ "name" : " @qb/ bunyan-middleware" ,
3
+ "version" : " 0.8.0-custom.1 " ,
4
4
"description" : " Request, response logger middleware using bunyan. Also provides request<>response duration." ,
5
5
"main" : " index.js" ,
6
6
"types" : " ./index.d.ts" ,
13
13
"scripts" : {},
14
14
"repository" : {
15
15
"type" : " git" ,
16
- "url" : " git://github.com/tellnes /bunyan-middleware.git"
16
+ "url" : " git://github.com/michaltk /bunyan-middleware.git"
17
17
},
18
18
"keywords" : [
19
19
" bunyan" ,
You can’t perform that action at this time.
0 commit comments