Fix some logging messages in `session`