mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-09 08:24:46 +08:00
change log_dir flag to logdir
change log_dir flag to logdir
This commit is contained in:
@@ -38,7 +38,7 @@ var logDirs []string
|
|||||||
|
|
||||||
// If non-empty, overrides the choice of directory in which to write logs.
|
// If non-empty, overrides the choice of directory in which to write logs.
|
||||||
// See createLogDirs for the full list of possible destinations.
|
// 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() {
|
func createLogDirs() {
|
||||||
if *logDir != "" {
|
if *logDir != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user