From f97d19fb1f34bee03a0d94f4e143efa9ee6397a4 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 20 Jul 2015 17:31:07 -0700 Subject: [PATCH] Debora's default log level is notice --- Godeps/_workspace/src/github.com/tendermint/log15/logger.go | 2 +- cmd/debora/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Godeps/_workspace/src/github.com/tendermint/log15/logger.go b/Godeps/_workspace/src/github.com/tendermint/log15/logger.go index bef6031e..96603c69 100644 --- a/Godeps/_workspace/src/github.com/tendermint/log15/logger.go +++ b/Godeps/_workspace/src/github.com/tendermint/log15/logger.go @@ -50,7 +50,7 @@ func LvlFromString(lvlString string) (Lvl, error) { return LvlDebug, nil case "info": return LvlInfo, nil - case "note": + case "notice", "note": return LvlNotice, nil case "warn": return LvlWarn, nil diff --git a/cmd/debora/main.go b/cmd/debora/main.go index 801acb79..66e19a0f 100644 --- a/cmd/debora/main.go +++ b/cmd/debora/main.go @@ -35,7 +35,7 @@ func main() { fmt.Printf("New Debora Process (PID: %d)\n", os.Getpid()) // Apply bare tendermint/* configuration. - cfg.ApplyConfig(cfg.MapConfig(map[string]interface{}{"log_level": "info"})) + cfg.ApplyConfig(cfg.MapConfig(map[string]interface{}{"log_level": "notice"})) rootDir := os.Getenv("DEBROOT") if rootDir == "" {