http: less spam.
This commit is contained in:
parent
4a8c4dee57
commit
b2ef630341
@ -102,8 +102,8 @@ HTTPServer.prototype._init = function _init() {
|
||||
var self = this;
|
||||
|
||||
this.server.on('request', function(req, res) {
|
||||
// if (req.pathname === '/')
|
||||
// return;
|
||||
if (req.method === 'POST' && req.pathname === '/')
|
||||
return;
|
||||
|
||||
self.logger.debug('Request for method=%s path=%s (%s).',
|
||||
req.method, req.pathname, req.socket.remoteAddress);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user