diff --git a/klog.go b/klog.go index f904cc975..733d14b73 100644 --- a/klog.go +++ b/klog.go @@ -43,7 +43,7 @@ // Logs are written to standard error instead of to files. // -alsologtostderr=false // Logs are written to standard error as well as to files. -// -stderrthreshold=ERROR +// -stderrthreshold=INFO // Log events at or above this severity are logged to standard // error as well as to files. // -log_dir="" @@ -396,8 +396,8 @@ type flushSyncWriter interface { } func init() { - // Default stderrThreshold is ERROR. - logging.stderrThreshold = errorLog + // Default stderrThreshold is INFO. + logging.stderrThreshold = infoLog logging.setVState(0, nil, false) go logging.flushDaemon()