aboutsummaryrefslogtreecommitdiff
path: root/go/glog
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-08-09 00:17:07 -0700
committerChris Lu <chris.lu@gmail.com>2013-08-09 00:17:07 -0700
commit27f04a382ad3790ab97106f3a86d19b47f79fb85 (patch)
treebf716048b572c7a0185e8a1b2491863f29cee7ba /go/glog
parented154053c833f9bcce9094e535e2adc0a0397e46 (diff)
downloadseaweedfs-27f04a382ad3790ab97106f3a86d19b47f79fb85.tar.xz
seaweedfs-27f04a382ad3790ab97106f3a86d19b47f79fb85.zip
avoid changing max size
Diffstat (limited to 'go/glog')
-rw-r--r--go/glog/convenient_api.go5
-rw-r--r--go/glog/glog_file.go2
2 files changed, 3 insertions, 4 deletions
diff --git a/go/glog/convenient_api.go b/go/glog/convenient_api.go
index b209c0b5c..ac2c2e7f8 100644
--- a/go/glog/convenient_api.go
+++ b/go/glog/convenient_api.go
@@ -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() {
diff --git a/go/glog/glog_file.go b/go/glog/glog_file.go
index 8c744bc51..8dcb2bc08 100644
--- a/go/glog/glog_file.go
+++ b/go/glog/glog_file.go
@@ -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