Browse Source

Add tested page url in server log

Gaël Métais 8 years ago
parent
commit
29faa4932d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/server/controllers/apiController.js

+ 2 - 2
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}));
         }