From 5ef77d8bccc0ca895909af8a16e65b399aae018c Mon Sep 17 00:00:00 2001 From: berlin2123 <68841407+berlin2123@users.noreply.github.com> Date: Sun, 12 Jun 2022 17:00:56 +0800 Subject: [PATCH] Update server_test.go --- pkg/config/server_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/config/server_test.go b/pkg/config/server_test.go index 8646ca62..bd96fe45 100644 --- a/pkg/config/server_test.go +++ b/pkg/config/server_test.go @@ -53,6 +53,7 @@ func Test_LoadServerCommonConf(t *testing.T) { log_way = file log_level = info9 log_max_days = 39 + log_duration_types = ssh,rdp disable_log_color = false detailed_errors_to_client authentication_method = token @@ -121,6 +122,7 @@ func Test_LoadServerCommonConf(t *testing.T) { LogWay: "file", LogLevel: "info9", LogMaxDays: 39, + LogDurationTypes: "ssh,rdp", DisableLogColor: false, DetailedErrorsToClient: true, HeartbeatTimeout: 99,