修改启动脚本, 增加日志时间戳
This commit is contained in:
parent
211485ce74
commit
f22fc4d27e
@ -7,6 +7,7 @@ module.exports = {
|
||||
script : "./node_modules/@colyseus/proxy/bin/proxy",
|
||||
instances : 1,
|
||||
exec_mode : 'cluster',
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 2567,
|
||||
}
|
||||
@ -19,7 +20,8 @@ module.exports = {
|
||||
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日志路径
|
||||
// out_file : '', // out日志路径,
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 4000,
|
||||
// DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
||||
@ -35,6 +37,7 @@ module.exports = {
|
||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||
// error_file : '', // error日志路径
|
||||
// out_file : '', // out日志路径
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
env: {
|
||||
PORT: 2500,
|
||||
DEBUG: "colyseus:errors,jc:*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user