Skip to content

Commit

Permalink
Disable debug level logs (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisPalnitsky authored Aug 23, 2023
1 parent 53fb191 commit 61b16aa
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 61b16aa

Please sign in to comment.