fixed project name in flake
This commit is contained in:
parent
413904c457
commit
bf78461bbb
2 changed files with 9 additions and 2 deletions
|
|
@ -16,4 +16,11 @@ func init() {
|
|||
Level: log.InfoLevel,
|
||||
})
|
||||
}
|
||||
|
||||
func initLogging() {
|
||||
level, err := log.ParseLevel(logLevel)
|
||||
if err != nil {
|
||||
Log.Warn("Invalid log level; defaulting to info", "input", logLevel)
|
||||
level = log.InfoLevel
|
||||
}
|
||||
Log.SetLevel(level)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue