Skip to content

Commit

Permalink
Always set -logtostderr (this matches the original behavior)
Browse files Browse the repository at this point in the history
We will remove this when a release can be cut to support logging to
stderr.
  • Loading branch information
bowei committed Jan 30, 2018
1 parent 20c4fe6 commit 5f2e432
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/glbc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func main() {
flag.Set("v", "4")
}

// TODO: remove this when we do a release so the -logtostderr can be
// used as a proper argument.
go_flag.Lookup("logtostderr").Value.Set("true")

if flags.F.Version {
fmt.Printf("Controller version: %s\n", version.Version)
os.Exit(0)
Expand Down

0 comments on commit 5f2e432

Please sign in to comment.