diff --git a/lib/server/controllers/apiController.js b/lib/server/controllers/apiController.js index 6831a67..e0ac803 100644 --- a/lib/server/controllers/apiController.js +++ b/lib/server/controllers/apiController.js @@ -67,7 +67,7 @@ var ApiController = function(app) { runsDatastore.updatePosition(run.runId, 0); - debug('Launching test %s on %s', run.runId, run.params.url); + console.log('Launching test ' + run.runId + ' on ' + run.params.url); var runOptions = { screenshot: run.params.screenshot ? screenshot.getTmpFilePath() : false, @@ -195,7 +195,7 @@ var ApiController = function(app) { // The user doesn't want to wait for the response, sending the run ID only if (!run.params.waitForResponse) { - console.log('Sending response without waiting.'); + debug('Sending response without waiting.'); res.setHeader('Content-Type', 'application/json'); res.send(JSON.stringify({runId: run.runId})); }