SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
adjust log level
Chris Lu5b92dfe30289
diff --git a/weed/util/config.go b/weed/util/config.goindex e4a684549b..6acf21c122 100644--- a/weed/util/config.go+++ b/weed/util/config.go@@ -27,7 +27,11 @@ 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(0).Infof("Reading %s: %v", viper.ConfigFileUsed(), err)+ logLevel := glog.Level(0)+ if strings.Contains(err.Error(), "Not Found") {+ logLevel = 1+ }+ glog.V(logLevel).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"+