Logging refinements.