diff --git a/proxy/proxy.js b/proxy/proxy.js index e3059b94..c62ae526 100755 --- a/proxy/proxy.js +++ b/proxy/proxy.js @@ -53,9 +53,9 @@ process.on('uncaughtException', function (err) { * Write to a specific file errors, this is useful when your restart script * respawn the process and delete the logs, becuase an uE */ - var slog = fs.createWriteStream(path.join(config.opt.logs_dir, 'proxyerror.log'), {'flags': 'a'}); + /*var slog = fs.createWriteStream(path.join(config.opt.logs_dir, 'proxyerror.log'), {'flags': 'a'}); slog.write('\n<-- new error -->\n'); - slog.end('\n' + err.message + '\n' + err.stack +'\n') + slog.end('\n' + err.message + '\n' + err.stack +'\n')*/ setTimeout(function(){ //let the process write the log process.kill(0)