Clean up logging messages