avoid changing max size
This commit is contained in:
@@ -4,9 +4,8 @@ import ()
|
||||
|
||||
/*
|
||||
Copying the original glog because it is missing several convenient methods.
|
||||
1. change log file size limit to 180MB
|
||||
2. use ToStderrAndLog() in the weed.go
|
||||
3. remove nano time in log format
|
||||
1. use ToStderrAndLog() in the weed.go
|
||||
2. remove nano time in log format
|
||||
*/
|
||||
|
||||
func ToStderr() {
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
)
|
||||
|
||||
// MaxSize is the maximum size of a log file in bytes.
|
||||
var MaxSize uint64 = 1024 * 1024 * 180
|
||||
var MaxSize uint64 = 1024 * 1024 * 1800
|
||||
|
||||
// logDirs lists the candidate directories for new log files.
|
||||
var logDirs []string
|
||||
|
||||
Reference in New Issue
Block a user