Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't expose stream

  • Loading branch information...
commit 9439f8799b54508191e174cec3f8443c9e282778 1 parent ee4708c
@carlos8f authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -14,7 +14,7 @@ exports = module.exports = function accesslog(options) {
stream = process.stdout;
}
options.format || (options.format = "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"");
- var render = compile(options.format, {options: options, stream: stream});
+ var render = compile(options.format, {options: options});
return function accessLogger(req, res, next) {
var end = res.end;
Please sign in to comment.
Something went wrong with that request. Please try again.