log dump refactor; pbzip2 tested