diff --git a/logger/verbosity.go b/logger/verbosity.go index 887b90f02910..e052b80a3bb2 100644 --- a/logger/verbosity.go +++ b/logger/verbosity.go @@ -7,4 +7,6 @@ const ( Core Debug Detail + + Ridiculousness = 100 ) diff --git a/miner/worker.go b/miner/worker.go index 14129438537e..916481973694 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -299,8 +299,11 @@ func (self *worker) commitNewWork() { } if err := self.commitUncle(uncle.Header()); err != nil { - glog.V(logger.Debug).Infof("Bad uncle found and will be removed (%x)\n", hash[:4]) - glog.V(logger.Debug).Infoln(uncle) + if glog.V(logger.Ridiculousness) { + glog.V(logger.Detail).Infof("Bad uncle found and will be removed (%x)\n", hash[:4]) + glog.V(logger.Detail).Infoln(uncle) + } + badUncles = append(badUncles, hash) } else { glog.V(logger.Debug).Infof("commiting %x as uncle\n", hash[:4])