From 6d2b1488d6710f42847f164ea7599331f441d055 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sun, 10 Feb 2013 16:14:48 +0100 Subject: [PATCH] Reformat access log messages to improve readability --- src/node/handler/PadMessageHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index 5c19a56c9..84a9ce6cc 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