tidy up logging info.