summaryrefslogtreecommitdiff
path: root/cmd/dserver/main.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-08-22 10:07:00 +0300
committerPaul Buetow <paul@buetow.org>2021-08-22 10:07:00 +0300
commit1eed2b211044415f5f3da0f1b154a8ac9f1967c0 (patch)
treeda319d37bf681687beb2c38e6292b30f5e04a261 /cmd/dserver/main.go
parentb3c161b7887d98ab7aba2fce90c9b5965991ab62 (diff)
introduces the protocol package
Diffstat (limited to 'cmd/dserver/main.go')
-rw-r--r--cmd/dserver/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index 89f9dca..1fe77a7 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -73,6 +73,10 @@ func main() {
}
}()
+ if debugEnable {
+ config.Common.DebugEnable = true
+ }
+
logger.Start(ctx, logger.Modes{Server: true, Debug: debugEnable || config.Common.DebugEnable})
if config.ServerRelaxedAuthEnable {