Skip to content

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.

change log_dir flag to logdir

隋龙飞@视频结构化ea4f29d1e77b
diff --git a/weed/glog/glog_file.go b/weed/glog/glog_file.go
index 65075d2811..bb8e6902fc 100644
--- a/weed/glog/glog_file.go
+++ b/weed/glog/glog_file.go
@@ -38,7 +38,7 @@ var logDirs []string
// If non-empty, overrides the choice of directory in which to write logs.
// See createLogDirs for the full list of possible destinations.
-var logDir = flag.String("log_dir", "", "If non-empty, write log files in this directory")
+var logDir = flag.String("logdir", "", "If non-empty, write log files in this directory")
func createLogDirs() {
if *logDir != "" {