Skip to content

Commit a45ace4

Browse files
author
Alan Christie
committed
style: Slimmer logging
1 parent bfe81e2 commit a45ace4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/app.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,10 @@ async def event_stream(
269269
routing_key: str = es[2]
270270

271271
_LOGGER.info(
272-
"Creating Consumer for %s (uuid=%s) [%s] (%s:%s@%s/%s)...",
272+
"Creating Consumer for %s (uuid=%s) [%s]...",
273273
es_id,
274274
uuid,
275275
routing_key,
276-
_AMPQ_USERNAME,
277-
_AMPQ_PASSWORD,
278-
_AMPQ_HOSTNAME,
279-
_AMPQ_VHOST,
280276
)
281277
consumer: Consumer = Consumer(
282278
_AMPQ_HOSTNAME,
@@ -418,7 +414,7 @@ async def _consume(
418414
await consumer.close()
419415
_LOGGER.info("Closed %s", es_id)
420416

421-
_LOGGER.info("Stopped consuming for %s", es_id)
417+
_LOGGER.info("Stopped consuming %s", es_id)
422418

423419

424420
# Endpoints for the 'internal' event-stream management API -----------------------------

0 commit comments

Comments
 (0)