Skip to content

Commit

Permalink
Change log_maxfilesrotation to uint32 to avoid anyone with more than … (
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Jan 11, 2025
1 parent 3cde84c commit 2b7728a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type LoggingConfig struct {
LogBackcompat bool `yaml:"log_backcompat" json:"log_backcompat"`
LogFilename string `yaml:"log_filename" json:"log_filename"`
LogLevel string `yaml:"log_level" json:"log_level"`
LogMaxFilesRotation uint8 `yaml:"log_maxfilesrotation" json:"log_maxfilesrotation"`
LogMaxFilesRotation uint32 `yaml:"log_maxfilesrotation" json:"log_maxfilesrotation"`
LogMaxBytesRotation uint32 `yaml:"log_maxbytesrotation" json:"log_maxbytesrotation"`
LogUseGzip bool `yaml:"log_use_gzip" json:"log_use_gzip"`
LogSyslog bool `yaml:"log_syslog" json:"log_syslog"`
Expand Down

0 comments on commit 2b7728a

Please sign in to comment.