tidying up logging comments