Skip to content

Commit

Permalink
Merge pull request #42 from vincepri/raise-standard-stderr
Browse files Browse the repository at this point in the history
Use info in default stderrThreshold
  • Loading branch information
k8s-ci-robot authored Feb 7, 2019
2 parents 5093042 + 9e8a655 commit 71442cd
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 71442cd

Please sign in to comment.