Added zlib encoding for log messages.