Agent: Add log statement when sending Agent events to Island

This commit is contained in:
Shreya Malviya 2022-09-14 19:54:36 +05:30
parent 7fed97530f
commit 5c1613bc79
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class BatchingAgentEventForwarder:
events.append(self._queue.get(block=False))
try:
logger.debug(f"Sending events to Island at {self._server_address}: {events}")
requests.post( # noqa: DUO123
EVENTS_API_URL % (self._server_address,),
json=events,