From d4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 22 Feb 2017 14:10:07 +0200 Subject: all: blidly swap out glog to our log15, logs need rework --- accounts/keystore/watch.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'accounts/keystore/watch.go') diff --git a/accounts/keystore/watch.go b/accounts/keystore/watch.go index 0b4401255..ff95a7cdc 100644 --- a/accounts/keystore/watch.go +++ b/accounts/keystore/watch.go @@ -19,10 +19,10 @@ package keystore import ( + "fmt" "time" - "github.com/ethereum/go-ethereum/logger" - "github.com/ethereum/go-ethereum/logger/glog" + "github.com/ethereum/go-ethereum/log" "github.com/rjeczalik/notify" ) @@ -67,12 +67,12 @@ func (w *watcher) loop() { err := notify.Watch(w.ac.keydir, w.ev, notify.All) if err != nil { - glog.V(logger.Detail).Infof("can't watch %s: %v", w.ac.keydir, err) + log.Trace(fmt.Sprintf("can't watch %s: %v", w.ac.keydir, err)) return } defer notify.Stop(w.ev) - glog.V(logger.Detail).Infof("now watching %s", w.ac.keydir) - defer glog.V(logger.Detail).Infof("no longer watching %s", w.ac.keydir) + log.Trace(fmt.Sprintf("now watching %s", w.ac.keydir)) + defer log.Trace(fmt.Sprintf("no longer watching %s", w.ac.keydir)) w.ac.mu.Lock() w.running = true -- cgit v1.2.3