removed headers logging

This commit is contained in:
bill bittner 2017-12-14 10:43:36 -08:00
parent 6056289864
commit 19a6bf93e0

View file

@ -33,7 +33,7 @@ app.use(bodyParser.json()); // 'body parser' for parsing application/json
app.use(bodyParser.urlencoded({ extended: true })); // 'body parser' for parsing application/x-www-form-urlencoded
app.use((req, res, next) => { // custom logging middleware to log all incoming http requests
logger.verbose(`Request on ${req.originalUrl} from ${req.ip}`);
logger.debug('req.headers:', req.headers);
// logger.debug('req.headers:', req.headers);
next();
});