adjust log level

This commit is contained in:
Chris Lu 2019-04-16 23:31:44 -07:00
parent 07091c44cd
commit 3b9446606a

View file

@ -100,7 +100,7 @@ func LoadConfiguration(configFileName string, required bool) (loaded bool) {
glog.V(1).Infof("Reading %s.toml from %s", configFileName, viper.ConfigFileUsed())
if err := viper.MergeInConfig(); err != nil { // Handle errors reading the config file
glog.V(1).Infof("Reading %s: %v", viper.ConfigFileUsed(), err)
glog.V(0).Infof("Reading %s: %v", viper.ConfigFileUsed(), err)
if required {
glog.Fatalf("Failed to load %s.toml file from current directory, or $HOME/.seaweedfs/, or /etc/seaweedfs/"+
"\n\nPlease follow this example and add a filer.toml file to "+