From 68b48cc045c31a3ae321e923194007ad036cf3f0 Mon Sep 17 00:00:00 2001 From: Matthew Di Ferrante Date: Tue, 12 Jul 2016 13:43:15 +0100 Subject: [PATCH] cmd/geth: print version on geth start (#2622) --- cmd/geth/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index a65a43ac3..cb43f8769 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -310,6 +310,8 @@ func initGenesis(ctx *cli.Context) error { // it unlocks any requested accounts, and starts the RPC/IPC interfaces and the // miner. func startNode(ctx *cli.Context, stack *node.Node) { + // Report geth version + glog.V(logger.Info).Infof("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS) // Start up the node itself utils.StartNode(stack)