Don't set default log level in config file

This commit is contained in:
Cuong Manh Le
2022-12-20 03:15:43 +07:00
committed by Cuong Manh Le
parent b03aa39b83
commit a6b3c4a757

View File

@@ -24,9 +24,6 @@ func InitConfig(v *viper.Viper, name string) {
v.AddConfigPath("$HOME/.ctrld")
v.AddConfigPath(".")
v.SetDefault("service", ServiceConfig{
LogLevel: "info",
})
v.SetDefault("listener", map[string]*ListenerConfig{
"0": {
IP: "127.0.0.1",