diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-11 22:04:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-11 22:04:27 +0800 |
commit | d3e31a4a6db6166b0639f0e9be5f70d5035baeeb (patch) | |
tree | 5e89ad593b3b6d87d2116aaf298977ee7b8361ef /ethereum/main.go | |
parent | c2bca5939d1d78d1548fcd43c29390fb06a508c0 (diff) | |
download | go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar.gz go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar.bz2 go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar.lz go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar.xz go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.tar.zst go-tangerine-d3e31a4a6db6166b0639f0e9be5f70d5035baeeb.zip |
Special diff output + debugger changes
Diffstat (limited to 'ethereum/main.go')
-rw-r--r-- | ethereum/main.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ethereum/main.go b/ethereum/main.go index e4d73d494..39226c1d2 100644 --- a/ethereum/main.go +++ b/ethereum/main.go @@ -2,6 +2,7 @@ package main import ( "github.com/ethereum/eth-go/ethlog" + "github.com/ethereum/eth-go/ethutil" "github.com/ethereum/go-ethereum/utils" "runtime" ) @@ -20,7 +21,14 @@ func main() { // precedence: code-internal flag default < config file < environment variables < command line Init() // parsing command line + + // If the difftool option is selected ignore all other log output + if DiffTool { + LogLevel = 0 + } + utils.InitConfig(ConfigFile, Datadir, "ETH") + ethutil.Config.Diff = DiffTool utils.InitDataDir(Datadir) |