From 659e27d559f836b3f4cbf9fa8a0c38d9a82dd517 Mon Sep 17 00:00:00 2001 From: zhl Date: Mon, 1 Feb 2021 17:25:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecosystem.config.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 9771e95..29e689f 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -7,6 +7,8 @@ module.exports = { script : "./node_modules/@colyseus/proxy/bin/proxy", instances : 1, exec_mode : 'cluster', + error_file : '/data/logs/card_svr/error/proxy_error.log', // error日志路径 + out_file : '/data/logs/card_svr/out/proxy_info.log', // out日志路径 log_date_format: "YYYY-MM-DD HH:mm:ss", env: { PORT: 2567, @@ -19,8 +21,8 @@ module.exports = { instances : 2, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. increment_var : 'PORT', // increment a environment variable for each instance launched - // error_file : '', // error日志路径 - // out_file : '', // out日志路径, + error_file : '/data/logs/card_svr/error/card_svr_error.log', // error日志路径 + out_file : '/data/logs/card_svr/out/card_svr_info.log', // out日志路径, log_date_format: "YYYY-MM-DD HH:mm:ss", env: { PORT: 4000, @@ -35,8 +37,8 @@ module.exports = { watch : true, // optional instances : 1, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. - // error_file : '', // error日志路径 - // out_file : '', // out日志路径 + error_file : '/data/logs/card_svr/error/robot_error.log', // error日志路径 + out_file : '/data/logs/card_svr/out/robot_info.log', // out日志路径 log_date_format: "YYYY-MM-DD HH:mm:ss", env: { PORT: 2500,