aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-27 19:34:14 +0800
committerFelix Lange <fjl@twurst.com>2015-05-28 07:09:26 +0800
commit62671c93c4672a8853c1193286d59f60e7065bbe (patch)
tree11c21a378ab2479a96645039692fb7bf2872b571
parent3b9808f23ca4eb1621a92aad80de5c89269f17fe (diff)
downloaddexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar.gz
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar.bz2
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar.lz
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar.xz
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.tar.zst
dexon-62671c93c4672a8853c1193286d59f60e7065bbe.zip
cmd/mist: use utils.SetupLogger
-rw-r--r--cmd/mist/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 8365fcec1..e8ae9b5e1 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -86,6 +86,10 @@ func init() {
utils.BlockchainVersionFlag,
utils.NetworkIdFlag,
}
+ app.Before = func(ctx *cli.Context) error {
+ utils.SetupLogger(ctx)
+ return nil
+ }
}
func main() {