Clean up logging output