mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
Reformat access log messages to improve readability
This commit is contained in:
parent
3760b97170
commit
6d2b1488d6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue