aboutsummaryrefslogtreecommitdiff
path: root/weed/util/config.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-22 13:33:45 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-22 13:33:45 -0700
commit11716fbf6f670288f9c95cf62276c330e7d61db4 (patch)
tree2d6a3bb5e816cb074e99643a6cfa9e365bfeed1a /weed/util/config.go
parentd75bc62196353692403e27ff589ece829f4d5721 (diff)
downloadseaweedfs-11716fbf6f670288f9c95cf62276c330e7d61db4.tar.xz
seaweedfs-11716fbf6f670288f9c95cf62276c330e7d61db4.zip
make reading error more obvious
Diffstat (limited to 'weed/util/config.go')
-rw-r--r--weed/util/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/config.go b/weed/util/config.go
index 7b6e92f08..e4a684549 100644
--- a/weed/util/config.go
+++ b/weed/util/config.go
@@ -27,7 +27,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 use this command to generate the default %s.toml file\n"+