Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogFilterConfig ¶
type AuditLogFilterConfig struct {
AuditLogDir string `json:"audit_log_dir" yaml:"audit_log_dir"`
// MaxSize is the maximum size in megabytes of the log file before it gets rotated
MaxSize int `json:"max_size" yaml:"max_size"`
// MaxAge is the maximum number of days to retain old log files
MaxAge int `json:"max_age" yaml:"max_age"`
// MaxBackups maximum number of old log files to retain
MaxBackups int `json:"max_backups" yaml:"max_backups"`
// Compress determines if the rotated log files should be compressed using gzip
Compress bool `json:"compress" yaml:"compress"`
// RecordBefore define whether to log before or after sql execution
RecordBefore bool `json:"record_before" yaml:"record_before"`
}
Click to show internal directories.
Click to hide internal directories.