summaryrefslogtreecommitdiff
path: root/cmd/dserver
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-02 11:23:08 +0300
committerPaul Buetow <paul@buetow.org>2021-10-02 12:26:36 +0300
commite922e0f7a955fd40753930b818f580f714578ca3 (patch)
treee4f124dfc917bc96a669e8598400775b2ca5fc25 /cmd/dserver
parent5484754cca4653b050f9b5075883db1d62dc0d18 (diff)
Client default log dir is ~/log
Diffstat (limited to 'cmd/dserver')
-rw-r--r--cmd/dserver/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index e77bc21..a44d577 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -16,6 +16,7 @@ import (
"github.com/mimecast/dtail/internal/config"
"github.com/mimecast/dtail/internal/io/dlog"
"github.com/mimecast/dtail/internal/server"
+ "github.com/mimecast/dtail/internal/source"
"github.com/mimecast/dtail/internal/user"
"github.com/mimecast/dtail/internal/version"
)
@@ -67,7 +68,7 @@ func main() {
var wg sync.WaitGroup
wg.Add(1)
- dlog.Start(ctx, &wg, dlog.SERVER, config.Common.LogLevel)
+ dlog.Start(ctx, &wg, source.Server, config.Common.LogLevel)
if config.ServerRelaxedAuthEnable {
dlog.Server.Fatal("SSH relaxed-auth mode enabled")