From 5424e9fd75069094764e64869fee30d2cd87e81f Mon Sep 17 00:00:00 2001 From: Matthew Di Ferrante Date: Thu, 26 May 2016 06:29:22 +0100 Subject: [PATCH] Print info through glog instead of fmt --- cmd/geth/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 096911caef..88cc7ba362 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -299,7 +299,7 @@ func makeDefaultExtra() []byte { // It creates a default node based on the command line arguments and runs it in // blocking mode, waiting for it to be shut down. func geth(ctx *cli.Context) { - fmt.Printf("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS) + glog.V(logger.Info).Infof("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS) node := utils.MakeSystemNode(clientIdentifier, verString, relConfig, makeDefaultExtra(), ctx) startNode(ctx, node) node.Wait()