mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
change log_dir flag to logdir
change log_dir flag to logdir
This commit is contained in:
parent
2a75a36b27
commit
ea4f29d1e7
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in a new issue