diff --git a/cmd/greenmask/cmd/root.go b/cmd/greenmask/cmd/root.go index 7090d44a..7770a5e7 100644 --- a/cmd/greenmask/cmd/root.go +++ b/cmd/greenmask/cmd/root.go @@ -109,13 +109,6 @@ func init() { log.Fatal().Err(err).Msg("") } - if err := viper.BindEnv("log.level", "LOG_LEVEL"); err != nil { - log.Fatal().Err(err).Msg("") - } - if err := viper.BindEnv("log.format", "LOG_FORMAT"); err != nil { - log.Fatal().Err(err).Msg("") - } - RootCmd.InitDefaultCompletionCmd() RootCmd.InitDefaultHelpCmd() RootCmd.InitDefaultVersionFlag()