Cleaned up logging output.