Skip to content

Commit

Permalink
Use info in default stderrThreshold
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <[email protected]>
  • Loading branch information
vincepri committed Feb 4, 2019
1 parent 5093042 commit 9e8a655
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 9e8a655

Please sign in to comment.