Get compression level from config