Skip to content

Commit

Permalink
log: Add endpoint id to bridge selection log. (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev authored May 6, 2024
1 parent 62b126f commit 16a8ff7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ class ColibriV2SessionManager(
session = it.first
created = it.second
}
logger.info("Selected ${bridge.jid.resourceOrNull}, session exists: ${!created}")
logger.info(
"Selected ${bridge.jid.resourceOrNull} for $${participant.id} " +
"(visitor=${participant.visitor}, session exists: ${!created})"
)
if (visitor != session.visitor) {
// Can happen if we're out of bridges for the specific class
logger.warn(
Expand Down

0 comments on commit 16a8ff7

Please sign in to comment.