Specifies how old log files are compressed when the LogExpireAction parameter is set to Compress. You can set this to either zip or gz.

Type: String
Default: zip
Required: No
Configuration Section: Logging or LogStream

If you set this parameter in the Logging and LogStream sections, the setting in the LogStream section takes precedence for the specified log stream.
Example: LogCompressionMode=gz
See Also: LogExpireAction