Log config file being loaded
This commit is contained in:
		@@ -139,6 +139,10 @@ func loadConfig() {
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	log.WithField("filename", viper.ConfigFileUsed()).Info(
 | 
			
		||||
		"loaded configuration file",
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
	err := viper.Unmarshal(&C)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatalf("unable to decode into struct: %v", err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user