Logging refinement.