-const logDir = path.join(__dirname, '..', '..', config.get('storage.logs'))
+const constants = require('../initializers/constants')
+
+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)
+