Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnOptionsChange ¶
func OnOptionsChange(oldOptions, newOptions interface{}) bool
Types ¶
type SLoggerOptions ¶
type SLoggerOptions struct { common_options.CommonOptions common_options.DBOptions SyslogUrl string `help:"external syslog url, e.g. tcp://localhost:1234@cloud"` EnableSeparateAdminLog bool `help:"enable separate log for auditor admin" default:"false"` SecadminRoleNames []string `help:"role names of security admin" default:"sys_secadmin,domain_secadmin"` OpsadminRoleNames []string `help:"role names of operation admin" default:"sys_opsadmin,domain_opsadmin"` AuditorRoleNames []string `help:"role names of auditor admin" default:"sys_adtadmin,domain_adtadmin"` ActionLogExceedCount int `help:"trigger notification when action log exceed count" default:"-1"` ActionLogExceedCountNotifyInterval string `help:"trigger notification interval" default:"5m"` SyslogVendorCode string `help:"vendor code of syslog" default:"0003"` SyslogSeparator string `help:"syslog message field separator" default:","` SyslogSepEscape string `help:"syslog message separate escape string" default:"+"` }
var (
Options SLoggerOptions
)
Click to show internal directories.
Click to hide internal directories.