Add logging to DirectDataLoader and do periodic commits.
Merge pull request #668 from rnsmith/i648

Add logging to DirectDataLoader and do periodic commits.