mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 11:37:56 +08:00
rotate log files
This commit is contained in:
@@ -46,7 +46,8 @@ func init() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
glog.MaxSize = 1024 * 1024 * 32
|
||||
glog.MaxSize = 1024 * 1024 * 10
|
||||
glog.MaxFileCount = 5
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
flag.Usage = usage
|
||||
|
||||
|
Reference in New Issue
Block a user