summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/main.js b/web/main.js
index 16b318d..2446010 100644
--- a/web/main.js
+++ b/web/main.js
@@ -5,7 +5,7 @@ var engine = require('engine.io'),
log4js = require('log4js');
log4js.loadAppender('file');
-log4js.addAppender(log4js.appenders.file('web.log'), 'log');
+log4js.addAppender(log4js.appenders.file(process.env.CODEQ_WEB_LOG || 'codeq-web.log'), 'log');
var logger = log4js.getLogger('log');
var logException = function (msg, error) {