To avoid noisy output, use StringIO instead of STDOUT for logging.
Merge pull request #411 from jrafanie/use_stringio_not_standard_out_for_logger

To avoid noisy output, use StringIO instead of STDOUT for logging.