More improvements to logging.
More improvements to logging.

materialsproject/custodian,specter119/custodian,materialsproject/custodian,xhqu1981/custodian,specter119/custodian,materialsproject/custodian,specter119/custodian