From b25760d22f929446c35f5a25c50ef20bfe41badd Mon Sep 17 00:00:00 2001 From: loicsaintroch Date: Fri, 11 Dec 2015 12:17:48 +0100 Subject: [PATCH] Do not log admin URL if dry application --- lib/start.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/start.js b/lib/start.js index fc372b1157..9b65d69a4b 100755 --- a/lib/start.js +++ b/lib/start.js @@ -48,7 +48,11 @@ module.exports = function start(configOverride, cb) { if (cluster.isMaster) { self.log.info('Server started in ' + self.config.appPath); self.log.info('Your server is running at ' + self.config.url); - self.log.info('Your admin panel is available at ' + self.config.url + '/admin/'); + + if (!self.config.dry) { + self.log.info('Your admin panel is available at ' + self.config.url + '/admin/'); + } + self.log.debug('Time: ' + new Date()); self.log.debug('Environment: ' + self.config.environment); self.log.debug('Process PID: ' + process.pid);