From 29faa4932d87df0eee4ab31632cffe5e2f3ba675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Thu, 22 Dec 2016 14:38:10 +0800 Subject: [PATCH] Add tested page url in server log --- lib/server/controllers/apiController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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})); }