There are two parameters that control the manner in which the compression is applied to log entries.
The first is a size threshold: If the variable region is less than this threshold, no compression is attempted.
The second is a compression factor expressed as a percent: If the compression does not fit in a buffer of size (<factor> * input_size / 100), then no compression takes place.