Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions klog.go
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down Expand Up @@ -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()
Expand Down