summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-09-28 21:11:50 +0300
committerPaul Buetow <paul@buetow.org>2021-10-02 12:26:36 +0300
commit609921f9c783941eaa9019a92b78ec45b49d681c (patch)
treec4fc6b20404d0f922dc2825e4624be8c04479cbf /cmd
parentfcaa94c7453efa0d74e330128c0f5c2cde8f11b3 (diff)
can have daily and normal file log rotation
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dserver/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index a3add5b..e77bc21 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -39,7 +39,6 @@ func main() {
flag.StringVar(&args.ConfigFile, "cfg", "", "Config file path")
flag.StringVar(&args.LogDir, "logDir", "", "Log dir")
flag.StringVar(&args.LogLevel, "logLevel", "", "Log level")
- flag.StringVar(&args.LogDir, "logDir", "", "Log dir path")
flag.Parse()
args.NoColor = !color