Adding some logging to understanding stream read behavior.