Commit 37ab612bbd2387dcd4a236bcfd5a24d76ef623c8
1 parent
032a6e58
修改自运营gameserver配置
Showing
6 changed files
with
11 additions
and
8 deletions
Show diff stats
config/basic.lua
| 1 | 1 | root = "./" |
| 2 | -logger = "server.log" | |
| 2 | +--logger = "server.log" | |
| 3 | 3 | --logger = "services/errorlog" |
| 4 | -logservice = "snlua" | |
| 4 | +--logservice = "snlua" | |
| 5 | 5 | |
| 6 | 6 | harbor = 0 |
| 7 | 7 | start = "main" -- main script |
| ... | ... | @@ -25,8 +25,6 @@ max_queue = 500 |
| 25 | 25 | redis_db = 0 |
| 26 | 26 | redis_auth = "H3&Gm4MGhcPui%a" |
| 27 | 27 | |
| 28 | -redis_host = "127.0.0.1" | |
| 29 | - | |
| 30 | 28 | mysql_host = "rm-bp1p5518oj8boxzci2o.mysql.rds.aliyuncs.com" |
| 31 | 29 | mysql_port = 3306 |
| 32 | 30 | mysql_user = "zhaolu" | ... | ... |
config/production.lua
config/server0.lua
config/server1.lua
src/services/logd.lua
| ... | ... | @@ -20,11 +20,11 @@ local prefix = "wasteland" .. logdIdx .. "S" .. serverId .. "C" |
| 20 | 20 | local logHandle = { |
| 21 | 21 | bi = { |
| 22 | 22 | host = "127.0.0.1", |
| 23 | - port = 13001, | |
| 23 | + port = 14001, | |
| 24 | 24 | }, |
| 25 | 25 | log = { |
| 26 | 26 | host = "127.0.0.1", |
| 27 | - port = 13002, | |
| 27 | + port = 14002, | |
| 28 | 28 | handle = function(doc) |
| 29 | 29 | -- 注入字段 |
| 30 | 30 | local now = skynet.timex() | ... | ... |