const constants = require('../initializers/constants')
-const label = constants.CONFIG.WEBSERVER.HOST + ':' + constants.CONFIG.WEBSERVER.PORT
+const label = constants.CONFIG.WEBSERVER.HOSTNAME + ':' + constants.CONFIG.WEBSERVER.PORT
// Create the directory if it does not exist
mkdirp.sync(constants.CONFIG.STORAGE.LOG_DIR)
json: true,
maxsize: 5242880,
maxFiles: 5,
- colorize: false
+ colorize: false,
+ prettyPrint: true
}),
new winston.transports.Console({
level: 'debug',
handleExceptions: true,
humanReadableUnhandledException: true,
json: false,
- colorize: true
+ colorize: true,
+ prettyPrint: true
})
],
exitOnError: true