diff --git a/main.go b/main.go index 24b7be1..e22d793 100644 --- a/main.go +++ b/main.go @@ -41,12 +41,12 @@ var rootCmd = &cobra.Command{ Long: "Scrape the data about the validators set, specific validators or wallets in the Cosmos network.", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if ConfigPath == "" { - log.Trace().Msg("Config file not provided") + log.Info().Msg("Config file not provided") setBechPrefixes(cmd) return nil } - log.Trace().Msg("Config file provided") + log.Info().Msg("Config file provided") viper.SetConfigFile(ConfigPath) if err := viper.ReadInConfig(); err != nil { diff --git a/validators.go b/validators.go index 8878053..38cfeb8 100644 --- a/validators.go +++ b/validators.go @@ -133,10 +133,10 @@ func ValidatorsHandler(w http.ResponseWriter, r *http.Request, grpcConn *grpc.Cl return } - sublogger.Info(). + sublogger.Debug(). Int("signingLength", len(signingInfos.Info)). Int("validatorsLength", len(validators.Validators)). - Msg("Length") + Msg("Signing info length") sublogger.Debug(). Float64("request-time", time.Since(queryStart).Seconds()).