forked from p15670423/monkey
Agent: Add log statement when sending Agent events to Island
This commit is contained in:
parent
7fed97530f
commit
5c1613bc79
|
@ -85,6 +85,7 @@ class BatchingAgentEventForwarder:
|
||||||
events.append(self._queue.get(block=False))
|
events.append(self._queue.get(block=False))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
logger.debug(f"Sending events to Island at {self._server_address}: {events}")
|
||||||
requests.post( # noqa: DUO123
|
requests.post( # noqa: DUO123
|
||||||
EVENTS_API_URL % (self._server_address,),
|
EVENTS_API_URL % (self._server_address,),
|
||||||
json=events,
|
json=events,
|
||||||
|
|
Loading…
Reference in New Issue