diff options
-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; |