logging refinements