Added logging details.  Added option to write to stdout.
Added logging and output to stdout
Merge branch 'master' of github.com:jimmoffitt/pt-stream