Update server.go
This commit is contained in:
parent
c2cbd3f3ef
commit
0f60ef3ecb
@ -115,10 +115,10 @@ type ServerCommonConf struct {
|
|||||||
// value is 0.
|
// value is 0.
|
||||||
LogMaxDays int64 `ini:"log_max_days" json:"log_max_days"`
|
LogMaxDays int64 `ini:"log_max_days" json:"log_max_days"`
|
||||||
// LogDurationTypes specifies the type of connection name, which will log
|
// LogDurationTypes specifies the type of connection name, which will log
|
||||||
// the duration of those connections. if it is setting as 'ssh,rdp', it
|
// 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',
|
// 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".
|
// 'rdp_test1' or 'web_my_rdp' . By default, this value is "ssh,rdp".
|
||||||
LogDurationTypes string `ini:"log_duration_types" json:"log_duration_types"`
|
LogDurationTypes string `ini:"log_duration_types" json:"log_duration_types"`
|
||||||
// DisableLogColor disables log colors when LogWay == "console" when set to
|
// DisableLogColor disables log colors when LogWay == "console" when set to
|
||||||
// true. By default, this value is false.
|
// true. By default, this value is false.
|
||||||
DisableLogColor bool `ini:"disable_log_color" json:"disable_log_color"`
|
DisableLogColor bool `ini:"disable_log_color" json:"disable_log_color"`
|
||||||
|
Loading…
Reference in New Issue
Block a user