Would it be good to include the session id somehow here? We also need a general plan for logging that works well with Sentry's grouping. Maybe log session as an extra piece of context? E.g. `log.warning(msg, session=session)`?