chore(logging): no production logging (how did this commit get removed?)
This commit is contained in:
+2
-1
@@ -92,7 +92,8 @@ if (cluster.isMaster && (nconf.get('NODE_ENV') == 'development' || nconf.get('NO
|
||||
|
||||
app.set("port", nconf.get('PORT'));
|
||||
|
||||
if (!process.env.SUPPRESS) app.use(express.logger("dev"));
|
||||
if (nconf.get('NODE_ENV') !== 'production')
|
||||
app.use(express.logger("dev"));
|
||||
app.use(express.compress());
|
||||
app.set("views", __dirname + "/../views");
|
||||
app.set("view engine", "jade");
|
||||
|
||||
Reference in New Issue
Block a user