Add option to enable just debug logging...

...without changing the reporting interval.

The `debug` option sets an interval of 10 seconds *and* enables debug
logging. `logging.debug` enables *only* debug logging while leaving the
interval at 60 seconds.
Log flush events only when data is present.