misc cleanup - logging