Browse Source
change log_dir flag to logdir
change log_dir flag to logdir
pull/827/head
隋龙飞@视频结构化
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 != "" { |
|
|
|