diff options
Diffstat (limited to 'ethereal/main.go')
-rw-r--r-- | ethereal/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethereal/main.go b/ethereal/main.go index dd4f1245a..4fb9e2a9c 100644 --- a/ethereal/main.go +++ b/ethereal/main.go @@ -25,7 +25,7 @@ func run() error { utils.InitDataDir(Datadir) - utils.InitLogging(Datadir, LogFile, LogLevel, DebugFile) + stdLog := utils.InitLogging(Datadir, LogFile, LogLevel, DebugFile) db := utils.NewDatabase() err := utils.DBSanityCheck(db) @@ -53,6 +53,7 @@ func run() error { } gui := NewWindow(ethereum, config, clientIdentity, KeyRing, LogLevel) + gui.stdLog = stdLog utils.RegisterInterrupt(func(os.Signal) { gui.Stop() |