Small improvements to logging, including adding more granular log levels.  To be revisited.