@@ -409,9 +409,9 @@ func InitLog() {
log.Path(common.ObjToString(Sysconfig["logpath"])),
log.Level("debug"),
log.Compress(true),
- log.MaxSize(100), // M
+ log.MaxSize(20), // M
log.MaxBackups(10),
- log.MaxAge(5),
+ log.MaxAge(10),
log.Format("text"), // text or json output
)
if err != nil {