Skip to content

Commit

Permalink
fix: allow setting stderrthreshold using GLOG_stderrthreshold (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud authored Jan 5, 2024
1 parent 8fbad2c commit b172be9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ GLOG_DEFINE_bool(
//
// The default is ERROR instead of FATAL so that users can see problems
// when they run a program without having to look in another file.
DEFINE_int32(stderrthreshold, google::GLOG_ERROR,
"log messages at or above this level are copied to stderr in "
"addition to logfiles. This flag obsoletes --alsologtostderr.");
GLOG_DEFINE_int32(
stderrthreshold, google::GLOG_ERROR,
"log messages at or above this level are copied to stderr in "
"addition to logfiles. This flag obsoletes --alsologtostderr.");

GLOG_DEFINE_string(alsologtoemail, "",
"log messages go to these email addresses "
Expand Down

0 comments on commit b172be9

Please sign in to comment.