modified:   logging.js
minor tidying