Browse Source

Debora's default log level is notice

pull/117/head
Jae Kwon 9 years ago
parent
commit
f97d19fb1f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Godeps/_workspace/src/github.com/tendermint/log15/logger.go
  2. +1
    -1
      cmd/debora/main.go

+ 1
- 1
Godeps/_workspace/src/github.com/tendermint/log15/logger.go 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


+ 1
- 1
cmd/debora/main.go 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 == "" {


Loading…
Cancel
Save