Added configurable compression and formatting of log files