diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-07 20:57:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-07 20:57:16 +0800 |
commit | 50aa1f178c71a4ff6c59888fcb9e78ff8a0abacd (patch) | |
tree | 971c48ff836b11f833552e36323dc1ca5a9cc3e9 /cmd/geth/main.go | |
parent | 688d118c7e0d439691e84fc6e068ab3e19da5185 (diff) | |
download | dexon-50aa1f178c71a4ff6c59888fcb9e78ff8a0abacd.tar.gz dexon-50aa1f178c71a4ff6c59888fcb9e78ff8a0abacd.tar.zst dexon-50aa1f178c71a4ff6c59888fcb9e78ff8a0abacd.zip |
updated logging
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index a3fe84bb8..9437f8eb4 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -46,10 +46,7 @@ const ( Version = "0.9.7" ) -var ( - clilogger = logger.NewLogger("CLI") - app = utils.NewApp(Version, "the go-ethereum command line interface") -) +var app = utils.NewApp(Version, "the go-ethereum command line interface") func init() { app.Action = run @@ -217,9 +214,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.DataDirFlag, utils.JSpathFlag, utils.ListenPortFlag, - utils.LogFileFlag, - utils.LogJSONFlag, - utils.LogLevelFlag, utils.MaxPeersFlag, utils.EtherbaseFlag, utils.MinerThreadsFlag, @@ -234,8 +228,12 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.ProtocolVersionFlag, utils.NetworkIdFlag, utils.RPCCORSDomainFlag, + utils.LogLevelFlag, utils.BacktraceAtFlag, utils.LogToStdErrFlag, + utils.LogVModuleFlag, + utils.LogFileFlag, + utils.LogJSONFlag, } // missing: @@ -250,6 +248,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso } func main() { + fmt.Printf("Welcome to the FRONTIER\n") runtime.GOMAXPROCS(runtime.NumCPU()) defer logger.Flush() if err := app.Run(os.Args); err != nil { @@ -259,7 +258,6 @@ func main() { } func run(ctx *cli.Context) { - fmt.Printf("Welcome to the FRONTIER\n") utils.HandleInterrupt() cfg := utils.MakeEthConfig(ClientIdentifier, Version, ctx) ethereum, err := eth.New(cfg) |