mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
internal/log/config.go: adding FileTimestampFormat field
This commit is contained in:
parent
e046484d9b
commit
cd54b770a5
1 changed files with 3 additions and 0 deletions
|
|
@ -15,6 +15,9 @@ type Config struct {
|
|||
// Directory where the log files are stored.
|
||||
Directory string `yaml:"directory" mapstructure:"directory"`
|
||||
|
||||
// Timestamp format when rotation files.
|
||||
FileTimestampFormat string `yaml:"file_timestamp_format" mapstructure:"file_timestamp_format"`
|
||||
|
||||
// Maximum filesize, the log is rotated when this size is exceeded.
|
||||
MaxFileSize types.Size `yaml:"maxfilesize" mapstructure:"maxfilesize"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue