add a bunch of logging around session and stream lifecycles.