Roc %!s(int64=3) %!d(string=hai) anos
pai
achega
72417fe730
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/logs.go

+ 1 - 1
utils/logs.go

@@ -52,7 +52,7 @@ func getDefaultLogConfig() logConfig {
 		MaxLines: 0,
 		MaxSize:  1 << 28,
 		Daily:    true,
-		MaxDays:  7,
+		MaxDays:  31,	//我就是喜欢31天,咋滴,不喜欢你就自己改-_-!
 		Rotate:   true,
 		Level:    logs.LevelTrace,
 		//Perm:     "",