Skip to content

Commit

Permalink
Disable debug level logs
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisPalnitsky committed Aug 23, 2023
1 parent 53fb191 commit 5ff6c4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"github.com/go-playground/validator/v10"
"github.com/iamolegga/enviper"
"github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/pflag"
"github.com/spf13/viper"
)
Expand Down Expand Up @@ -74,8 +73,8 @@ func (c *ConfReader) Read(configStruct interface{}) error {
return errors.Wrap(err, "failed to set default values")
}

jww.SetLogThreshold(jww.LevelTrace)
jww.SetStdoutThreshold(jww.LevelTrace)
// jww.SetLogThreshold(jww.LevelTrace)
// jww.SetStdoutThreshold(jww.LevelTrace)

c.viper.SetConfigFile(c.configName)

Expand Down

0 comments on commit 5ff6c4a

Please sign in to comment.