From a04cf0f1cc33aff31ec18d38544863421d2759dc Mon Sep 17 00:00:00 2001 From: berlin2123 <68841407+berlin2123@users.noreply.github.com> Date: Sun, 12 Jun 2022 17:35:33 +0800 Subject: [PATCH] Update server.go --- pkg/config/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/server.go b/pkg/config/server.go index 57876cce..2b445bb3 100644 --- a/pkg/config/server.go +++ b/pkg/config/server.go @@ -105,7 +105,7 @@ type ServerCommonConf struct { // the duration of those connections. if it is setting as 'ssh,rdp', it // will log the duration of the name as 'ssh', 'ssh_1', 'sshname', 'rdp', // 'rdp_test1' or 'web_my_rdp' . By default, this value is "ssh,rdp". - LogDurationTypes string `json:"log_duration_types"` + LogDurationTypes string `ini:"log_duration_types" json:"log_duration_types"` // DisableLogColor disables log colors when LogWay == "console" when set to // true. By default, this value is false. DisableLogColor bool `ini:"disable_log_color" json:"disable_log_color"`