-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Is your feature request related to a problem? Please describe.
It would be helpful if logging-related configurations (MaxSize, MaxAge, MaxBackups) could be handled in the cdc.yaml file.
If this is not possible, the emptyDir volume might fill up, causing the CDC pod to restart periodically.
Describe the solution you'd like.
It would be great if the values below could be configured through a YAML file.
// FileLogConfig serializes file log related config in toml/json.
type FileLogConfig struct {
// Log rootpath
RootPath string `toml:"rootpath" json:"rootpath"`
// Log filename, leave empty to disable file log.
Filename string `toml:"filename" json:"filename"`
// Max size for a single file, in MB.
MaxSize int `toml:"max-size" json:"max-size"`
// Max log keep days, default is never deleting.
MaxDays int `toml:"max-days" json:"max-days"`
// Maximum number of old log files to retain.
MaxBackups int `toml:"max-backups" json:"max-backups"`
}Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
Metadata
Metadata
Assignees
Labels
No labels