You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/05/23 22:10:44 UTC

[2/2] git commit: Tweak a console.log()

Tweak a console.log()


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/6548126a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/6548126a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/6548126a

Branch: refs/heads/master
Commit: 6548126a03fd3fa7641390a974127aff6b2926d2
Parents: f086ba8
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri May 23 16:07:46 2014 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri May 23 16:07:46 2014 -0400

----------------------------------------------------------------------
 www/cdvah/js/HttpServer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/6548126a/www/cdvah/js/HttpServer.js
----------------------------------------------------------------------
diff --git a/www/cdvah/js/HttpServer.js b/www/cdvah/js/HttpServer.js
index 028c92e..9a30a28 100644
--- a/www/cdvah/js/HttpServer.js
+++ b/www/cdvah/js/HttpServer.js
@@ -442,7 +442,7 @@
                         requestData.method = requestDataParts[0].toUpperCase();
                         requestData.resource = requestDataParts[1];
                         requestData.httpVersion = requestDataParts[2];
-                        console.log(requestData.method + ' requestData received for ' + requestData.resource);
+                        console.log('Socket ' + requestData.socket.socketId + ': ' + requestData.method + ' ' + requestData.resource);
                         changeState(requestData, STATE_REQUEST_DATA_RECEIVED);
                         requestData.socket.unread(arrayBuffer);
                         return readRequestHeaders(requestData);