aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-22 18:40:15 +0800
committerobscuren <geffobscura@gmail.com>2014-08-22 18:40:15 +0800
commit5ac875b097a55c75a7e3da3443ef9fe64fc87846 (patch)
tree3d3289d2b6fc50dc00d9c4838a7ddf9ee2574fb2 /ethereal/main.go
parent842f2cc8a06627a1de4fbdd1580fefe14be85a04 (diff)
downloaddexon-5ac875b097a55c75a7e3da3443ef9fe64fc87846.tar.gz
dexon-5ac875b097a55c75a7e3da3443ef9fe64fc87846.tar.zst
dexon-5ac875b097a55c75a7e3da3443ef9fe64fc87846.zip
Set log level of std logger as well. (since gui logging is disabled)
Diffstat (limited to 'ethereal/main.go')
-rw-r--r--ethereal/main.go3
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()