@cryptotaxi247 / kubo / commits / 31cc605c3

comment out debug msg

Juan Batiz-Benet committed Oct 8, 2014 at 14:49 UTC 31cc605c3ac9c188e6ed411e398d17ec2c1413e8
1 file changed +8 -7
util/util.go
+8 -7
@@ -154,13 +154,14 @@ func SetupLogging() {
154 logging.SetBackend(backend)
155 logging.SetFormatter(logging.MustStringFormatter(LogFormat))
156
157 - /*
158 - if Debug {
159 - logging.SetLevel(logging.DEBUG, "")
160 - } else {
161 - logging.SetLevel(logging.ERROR, "")
162 - }
163 - */
157 + // just uncomment Debug = True right here for all logging.
158 + // but please don't commit that.
159 + // Debug = True
160 + if Debug {
161 + logging.SetLevel(logging.DEBUG, "")
162 + } else {
163 + logging.SetLevel(logging.ERROR, "")
164 + }
165
166 for n, log := range loggers {
167 logging.SetLevel(logging.ERROR, n)