Skip to content

Commit

Permalink
make log compression on by default (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmeenkaur committed Dec 1, 2023
1 parent b0615bb commit de3b3bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/config/mount_config.go
Expand Up @@ -18,7 +18,7 @@ const (
// Default log rotation config values.
defaultMaxFileSizeMB = 512
defaultBackupFileCount = 10
defaultCompress = false
defaultCompress = true
)

type WriteConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/config/yaml_parser_test.go
Expand Up @@ -37,7 +37,7 @@ func validateDefaultConfig(mountConfig *MountConfig) {
ExpectEq("", mountConfig.LogConfig.FilePath)
ExpectEq(512, mountConfig.LogConfig.LogRotateConfig.MaxFileSizeMB)
ExpectEq(10, mountConfig.LogConfig.LogRotateConfig.BackupFileCount)
ExpectEq(false, mountConfig.LogConfig.LogRotateConfig.Compress)
ExpectEq(true, mountConfig.LogConfig.LogRotateConfig.Compress)
}

func (t *YamlParserTest) TestReadConfigFile_EmptyFileName() {
Expand Down

0 comments on commit de3b3bc

Please sign in to comment.