Permalink
Browse files

Don't expose stream

  • Loading branch information...
1 parent ee4708c commit 9439f8799b54508191e174cec3f8443c9e282778 Carlos Rodriguez committed Jul 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -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;

0 comments on commit 9439f87

Please sign in to comment.