Clean up logging.

Remove redundancy in the logging output.