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
commit6e1af993924bc7bebe898b403962db5a6b3505d1 (patch)
treee4f124dfc917bc96a669e8598400775b2ca5fc25 /cmd/dserver
parent764ef99a3d779a0db1fb60679292af52425ba2f6 (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")