Added lines to send logger output to console.  They are commented out, but are useful at times, so please leave them in for debugging.