better fine grained logging