Default log level set to NOTICE

pull/16/head
Bruce Leidl 9 years ago
parent d16b539bad
commit 7f94d3189e

@ -39,6 +39,7 @@ func setupLoggerBackend() logging.LeveledBackend {
backend := logging.NewLogBackend(os.Stderr, "", 0) backend := logging.NewLogBackend(os.Stderr, "", 0)
formatter := logging.NewBackendFormatter(backend, format) formatter := logging.NewBackendFormatter(backend, format)
leveler := logging.AddModuleLevel(formatter) leveler := logging.AddModuleLevel(formatter)
leveler.SetLevel(logging.NOTICE, "sgfw")
return leveler return leveler
} }

Loading…
Cancel
Save