NetEase / pomelo-logger

logger wrapper of log4js for pomelo logger system
MIT License
26 stars 47 forks source link

怎么使用动态日志文件 #2

Closed ydhl closed 10 years ago

ydhl commented 10 years ago

{ "type": "file", "filename": "./logs/rpc-debug-${opts:serverId}.log", "maxLogSize": 1048576, "layout": { "type": "basic" }, "backups": 5, "category": "rpc-debug" }

我们自定义的话怎么配置log4js.json,怎么使用呢