Skip to content

Commit 614ef17

Browse files
authored
chore: switch to debug level in task save and delete (#110)
1 parent 20f0826 commit 614ef17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/tasks/inmemory_task_store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async def save(self, task: Task) -> None:
2525
"""Saves or updates a task in the in-memory store."""
2626
async with self.lock:
2727
self.tasks[task.id] = task
28-
logger.info('Task %s saved successfully.', task.id)
28+
logger.debug('Task %s saved successfully.', task.id)
2929

3030
async def get(self, task_id: str) -> Task | None:
3131
"""Retrieves a task from the in-memory store by ID."""
@@ -44,7 +44,7 @@ async def delete(self, task_id: str) -> None:
4444
logger.debug('Attempting to delete task with id: %s', task_id)
4545
if task_id in self.tasks:
4646
del self.tasks[task_id]
47-
logger.info('Task %s deleted successfully.', task_id)
47+
logger.debug('Task %s deleted successfully.', task_id)
4848
else:
4949
logger.warning(
5050
'Attempted to delete nonexistent task with id: %s', task_id

0 commit comments

Comments
 (0)