Browse Source

change log_dir flag to logdir

change log_dir flag to logdir
pull/827/head
隋龙飞@视频结构化 6 years ago
committed by GitHub
parent
commit
ea4f29d1e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/glog/glog_file.go

2
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 != "" {

Loading…
Cancel
Save