diff options
| author | Paul Buetow <paul@buetow.org> | 2021-08-21 09:15:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-08-21 09:15:13 +0300 |
| commit | 70cc67e78278fcf103acc57dfe513bd6f5f258c9 (patch) | |
| tree | b559894203fe975978240e57824c316be8ea6410 /cmd | |
| parent | a92857684b3b7843dc99ea71c49ee4af8b298392 (diff) | |
assume daily log strategy when logDir specified via command line arg
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dserver/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go index f5f0536..89f9dca 100644 --- a/cmd/dserver/main.go +++ b/cmd/dserver/main.go @@ -47,6 +47,9 @@ func main() { config.Client.TermColorsEnable = color if logDir != "" { config.Common.LogDir = logDir + if config.Common.LogStrategy == "" { + config.Common.LogStrategy = "daily" + } } if displayVersion { |
