removed testing logs and rebuilt
This commit is contained in:
parent
eec7cc4101
commit
6476121de8
3 changed files with 4 additions and 4204 deletions
4204
index.js
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
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue