Parameter and Command Reference > Logging Configuration Parameters > LogCompressionMode 

Specifies how old log files are compressed when the LogExpireAction parameter is set to Compress. This can be set to either zip or gz.
Logging and/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.