Adds better stream flush logging.
Adds better stream flush logging.