GODT-1482: Comment or mitigate panics, unlock cache when needed.

This commit is contained in:
Jakub
2021-12-21 11:34:21 +01:00
committed by Jakub Cuth
parent e9c05c5a6b
commit df601ecbbd
15 changed files with 312 additions and 51 deletions

View File

@ -25,7 +25,10 @@ import (
func init() { //nolint[gochecknoinits]
logrus.SetLevel(logrus.ErrorLevel)
if os.Getenv("VERBOSITY") == "trace" {
switch os.Getenv("VERBOSITY") {
case "trace":
logrus.SetLevel(logrus.TraceLevel)
case "debug":
logrus.SetLevel(logrus.DebugLevel)
}
}