increase log level for missing config on default location to debug

This commit is contained in:
A.Unger
2020-12-11 14:16:51 +01:00
parent b9ce04338c
commit 7bba6bcb6a
11 changed files with 11 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ func Execute() error {
if err := viper.ReadInConfig(); err != nil {
switch err.(type) {
case viper.ConfigFileNotFoundError:
logger.Info().
logger.Debug().
Msg("no config found on preconfigured location")
case viper.UnsupportedConfigError:
logger.Fatal().