Logging improvements

Some errors reported when errors occurred. Improved internal
logDatasetProcess function and how it is called from most gz tools.
Impact was cosmetic but errors were reported.