removed testing logs and rebuilt

This commit is contained in:
bill bittner 2018-04-08 19:54:09 -04:00
parent eec7cc4101
commit 6476121de8
3 changed files with 4 additions and 4204 deletions

4204
index.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
const logger = require('winston'); const logger = require('winston');
const requestLogger = (req, res, next) => { // custom logging middleware to log all incoming http requests const requestLogger = (req, res, next) => { // custom logging middleware to log all incoming http requests
logger.verbose(`Request on ${req.originalUrl} from ${req.ip}`); logger.debug(`Request on ${req.originalUrl} from ${req.ip}`);
next(); next();
}; };