The change in proxy.py fixes a "bug" in logging, because the session object we have at that point is only connected to the router, the actual join does not happen in that function. Hence the backend_proto._session_id is None during the execution of this code. That prints something like.
ok, proxy backend session None opened mapping frontend session to realm "test1", authrole "owner"
The other change make logging behavior consistent with other locations
The change in
proxy.py
fixes a "bug" in logging, because the session object we have at that point is only connected to the router, the actual join does not happen in that function. Hence thebackend_proto._session_id
is None during the execution of this code. That prints something like.The other change make logging behavior consistent with other locations