make logging optional so doesn't clog up minimal test reporter
Merge branch 'master' into jebeck/smbg-fallback