Skip to content

Commit bfe81e2

Browse files
author
Alan Christie
committed
style: Log tweak
1 parent 6472635 commit bfe81e2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/app.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,10 @@ async def event_stream(
268268
es_id = es[0]
269269
routing_key: str = es[2]
270270

271-
_LOGGER.debug(
272-
"Creating Consumer for %s [%s] (%s:%s@%s/%s)...",
271+
_LOGGER.info(
272+
"Creating Consumer for %s (uuid=%s) [%s] (%s:%s@%s/%s)...",
273273
es_id,
274+
uuid,
274275
routing_key,
275276
_AMPQ_USERNAME,
276277
_AMPQ_PASSWORD,
@@ -295,7 +296,7 @@ async def event_stream(
295296

296297
# Start consuming the stream.
297298
# We don't return from here until there's an error.
298-
_LOGGER.info("Consuming %s...", es_id)
299+
_LOGGER.debug("Consuming %s...", es_id)
299300
await _consume(
300301
consumer=consumer,
301302
stream_name=routing_key,

0 commit comments

Comments
 (0)