log compression