aboutsummaryrefslogtreecommitdiff
path: root/go/glog/glog.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/glog/glog.go')
-rw-r--r--go/glog/glog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/glog/glog.go b/go/glog/glog.go
index d18c6f7bb..68cdaede0 100644
--- a/go/glog/glog.go
+++ b/go/glog/glog.go
@@ -389,7 +389,7 @@ type flushSyncWriter interface {
func init() {
flag.BoolVar(&logging.toStderr, "logtostderr", false, "log to standard error instead of files")
- flag.BoolVar(&logging.alsoToStderr, "alsologtostderr", false, "log to standard error as well as files")
+ flag.BoolVar(&logging.alsoToStderr, "alsologtostderr", true, "log to standard error as well as files")
flag.Var(&logging.verbosity, "v", "log level for V logs")
flag.Var(&logging.stderrThreshold, "stderrthreshold", "logs at or above this threshold go to stderr")
flag.Var(&logging.vmodule, "vmodule", "comma-separated list of pattern=N settings for file-filtered logging")