diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-11-20 18:01:49 +0100 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-11-20 18:01:49 +0100 |
commit | 048540a5db19ef5d116ffe27881c68c4a0fdf948 (patch) | |
tree | fad8a2d9b281396eaaaedaa64359277ddd8403ee /interactor | |
parent | 5ddf5bbfc8c85380ed5f2fa91cc21a68ab971969 (diff) |
cosmetic log changes
Diffstat (limited to 'interactor')
-rwxr-xr-x | interactor/interactor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interactor/interactor.js b/interactor/interactor.js index 0a95193..64684ae 100755 --- a/interactor/interactor.js +++ b/interactor/interactor.js @@ -93,7 +93,7 @@ io.on("connection",function(conn){ conn.on("disconnect",function(){ console.log("Disconnect id "+id); - log("Ending log on dissconnect (id "+id+")"); + log("Ending log on disconnect (id "+id+")"); fs.closeSync(logfile); if(proc){stopproc(proc);proc=null;} if(pingtimeout)clearTimeout(pingtimeout); @@ -137,7 +137,7 @@ io.on("connection",function(conn){ stdio:["pipe","pipe",process.stderr] }); childpids.push(proc.pid); - log("Process '"+aicmd+"' started with pid "+proc.pid); + log("Process '"+aicmd+"' started with pid "+proc.pid+", initiated by ip "+conn.request.connection.remoteAddress); var buffer=""; proc.stdout.on("data",function(data){ var idx,line,mv,win; |