mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Print info through glog instead of fmt
This commit is contained in:
parent
06ebf2ba89
commit
5424e9fd75
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ func makeDefaultExtra() []byte {
|
||||||
// It creates a default node based on the command line arguments and runs it in
|
// It creates a default node based on the command line arguments and runs it in
|
||||||
// blocking mode, waiting for it to be shut down.
|
// blocking mode, waiting for it to be shut down.
|
||||||
func geth(ctx *cli.Context) {
|
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)
|
node := utils.MakeSystemNode(clientIdentifier, verString, relConfig, makeDefaultExtra(), ctx)
|
||||||
startNode(ctx, node)
|
startNode(ctx, node)
|
||||||
node.Wait()
|
node.Wait()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue