Improve logging and doc.
Improve logging and doc.

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