Skip to content

Commit

Permalink
Merge pull request #119 from bowei/logtostderr
Browse files Browse the repository at this point in the history
Always set -logtostderr (this matches the original behavior)
  • Loading branch information
nicksardo authored Jan 30, 2018
2 parents 20c4fe6 + 5f2e432 commit 4bf810e
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 4bf810e

Please sign in to comment.