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

@@ -86,7 +86,7 @@ func ParseConfig(c *cli.Context, cfg *config.Config) 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().