Add support for .tar.gz and debug level logging