Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit b8cf7d0

Browse files
committed
checkpointer: log to stderr
1 parent aa2fc14 commit b8cf7d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/checkpoint/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"encoding/json"
5+
"flag"
56
"fmt"
67
"io/ioutil"
78
"net/http"
@@ -42,6 +43,8 @@ var (
4243
)
4344

4445
func main() {
46+
flag.Set("logtostderr", "true")
47+
defer glog.Flush()
4548
checkpoints, err := getCheckpointManifests()
4649
if err != nil {
4750
glog.Fatalf("failed to load existing checkpoint manifests: %v", err)

0 commit comments

Comments
 (0)