From 048540a5db19ef5d116ffe27881c68c4a0fdf948 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 20 Nov 2015 18:01:49 +0100 Subject: cosmetic log changes --- interactor/interactor.js | 4 ++-- 1 file 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; -- cgit v1.2.3-70-g09d2