Debora's default log level is notice

This commit is contained in:
Jae Kwon 2015-07-20 17:31:07 -07:00
parent f51cfc03ea
commit f97d19fb1f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 == "" {