Skip to content

Commit 69e20de

Browse files
author
Alan Christie
committed
style: Logging corrections
1 parent 64e1936 commit 69e20de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,16 +328,16 @@ async def event_stream(
328328
# on the next message and should shut itself down.
329329
new_socket_uuid: str = python_uuid.uuid4()
330330
_LOGGER.info(
331-
"Assigning unique WebSocket ID (%s) for %s (routing_key=%s uuid=%s)",
332-
es_id,
331+
"Assigning unique ID %s for this connection (id=%s routing_key=%s uuid=%s)",
333332
new_socket_uuid,
333+
es_id,
334334
es_routing_key,
335335
uuid,
336336
)
337337
existing_socket_uuid: str = _MEMCACHED_CLIENT.get(es_routing_key).decode("utf-8")
338338
if existing_socket_uuid and existing_socket_uuid != new_socket_uuid:
339339
_LOGGER.warning(
340-
"Replacing existing WebSocket unique ID (%s) with ours (id=%s)",
340+
"Replacing existing connection ID %s with ours (id=%s)",
341341
existing_socket_uuid,
342342
es_id,
343343
)

0 commit comments

Comments
 (0)