mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 22:54:37 +02:00
Add username to client.log
This commit is contained in:
parent
1212eb41eb
commit
b3e1490d63
2 changed files with 6 additions and 4 deletions
|
@ -18,6 +18,7 @@ function addNewClient(client, clientSock) {
|
|||
var id = client.session.id = clientConnections.push(client) - 1;
|
||||
|
||||
// Create a client specific logger
|
||||
// Note that this will be updated @ login with additional information
|
||||
client.log = logger.log.child( { clientId : id } );
|
||||
|
||||
var connInfo = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue