Refining logging