diff --git a/ecosystem.config.js b/ecosystem.config.js index 338f661..ce5f720 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -15,6 +15,8 @@ module.exports = { watch : true, // optional instances : 2, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. + // error_file : '', // error日志路径 + // out_file : '', // out日志路径 env: { DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*", NODE_ENV: "production", @@ -27,6 +29,8 @@ module.exports = { watch : true, // optional instances : 1, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. + // error_file : '', // error日志路径 + // out_file : '', // out日志路径 env: { DEBUG: "colyseus:errors,jc:*", NODE_ENV: "production",