crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

Reduce and fix logging #1969

Closed om26er closed 2 years ago

om26er commented 2 years ago

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