Finished color log
This commit is contained in:
parent
90a940b985
commit
c0eb2d26f5
|
@ -30,7 +30,6 @@ Log.ready = function(msg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.request = function(req, res) {
|
Log.request = function(req, res) {
|
||||||
console.log(req.headers['x-forwarded-for'], process.env.OPENSHIFT_NODEJS_IP);
|
|
||||||
if (req.headers['x-forwarded-for'] !== undefined || isDev) {
|
if (req.headers['x-forwarded-for'] !== undefined || isDev) {
|
||||||
log(
|
log(
|
||||||
'[REQ] ' + new Date() + ' ' +
|
'[REQ] ' + new Date() + ' ' +
|
||||||
|
|
Loading…
Reference in New Issue