diff --git a/server/configs.go b/server/configs.go index 6c4cbb916e56295c0cbfb0d2e4bfc4bb8ee43db0..6a95ea49be11eaf734bb0785fdb2e385779c0167 100644 --- a/server/configs.go +++ b/server/configs.go @@ -27,4 +27,11 @@ func SetConfigValues() { if err := viper.ReadInConfig(); err != nil { log.Printf("can't read config: %s, will use default values", err) } + + // Print all config values to log file + log.Printf("All Settings From Config:") + as := viper.AllSettings() + for key, _ := range as { + log.Printf("%s => %s", key, viper.GetString(key)) + } } \ No newline at end of file