audit_log

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL