We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658ea07 commit 9eb4ad0Copy full SHA for 9eb4ad0
app/app.py
@@ -239,6 +239,8 @@ def get_es() -> EventStreamGetResponse:
239
"""Returns a list of the details of all existing event-streams,
240
their IDs, locations, and routing keys."""
241
242
+ _LOGGER.info("Request to get event streams...")
243
+
244
# Get the ES record (by primary key)
245
db = sqlite3.connect(_DATABASE_PATH)
246
cursor = db.cursor()
@@ -252,6 +254,8 @@ def get_es() -> EventStreamGetResponse:
252
254
EventStreamItem(id=es[0], location=location, routing_key=es[2])
253
255
)
256
257
+ _LOGGER.info("Returning %s event stream records", len(event_streams))
258
259
return EventStreamGetResponse(event_streams=event_streams)
260
261
0 commit comments