Improved logging and metrics. #227

Merged
telackey merged 11 commits from telackey/logging into v4 2023-01-21 01:39:26 +00:00
Showing only changes of commit 2cfc53bc4f - Show all commits

View File

@ -65,10 +65,6 @@ func initFuncs(cmd *cobra.Command, args []string) {
} }
} }
func logLevel() error {
return log.Init()
}
func init() { func init() {
cobra.OnInitialize(initConfig) cobra.OnInitialize(initConfig)
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_")) viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))