diff options
author | Marcel Klehr <mklehr@gmx.net> | 2013-02-10 16:14:48 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2013-02-10 16:14:48 +0100 |
commit | 6d2b1488d6710f42847f164ea7599331f441d055 (patch) | |
tree | fef75040aa065aee38439675f40373579d586226 | |
parent | 3760b97170f6f81c2dfed37fe996c8a012d16bca (diff) | |
download | etherpad-lite-6d2b1488d6710f42847f164ea7599331f441d055.zip |
Reformat access log messages to improve readability
-rw-r--r-- | src/node/handler/PadMessageHandler.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index 5c19a56c..84a9ce6c 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -123,7 +123,7 @@ exports.handleDisconnect = function(client) } client.get('remoteAddress', function(er, ip) { - accessLogger.info('[LEAVE] Author "'+session.author+'" on client '+client.id+' with IP "'+ip+'" left pad "'+session.padId+'"') + accessLogger.info('[LEAVE] Pad "'+session.padId+'": Author "'+session.author+'" on client '+client.id+' with IP "'+ip+'" left the pad') }) //Delete the sessioninfos entrys of this session @@ -916,7 +916,7 @@ function handleClientReady(client, message) sessioninfos[client.id].readonly = padIds.readonly; client.get('remoteAddress', function(er, ip) { - accessLogger.info('[ENTER] Client '+client.id+' with IP "'+ip+'" entered pad "'+padIds.padId+'"') + accessLogger.info('[ENTER] Pad "'+padIds.padId+'": Client '+client.id+' with IP "'+ip+'" entered the pad') }) //If this is a reconnect, we don't have to send the client the ClientVars again |