Skip to content

Commit 3f1df8d

Browse files
authored
Merge pull request #774 from 8ball030/patch-2
Update tasks.py log level to debug
2 parents b1662a4 + 5a86c4a commit 3f1df8d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.spelling

+2-1
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,5 @@ pyyaml
385385
1.43.0.post2
386386
deserialisation
387387
solana
388-
1.48.0.post1
388+
1.48.0.post1
389+
macOS

aea/skills/tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# ------------------------------------------------------------------------------
33
#
4-
# Copyright 2022 Valory AG
4+
# Copyright 2022-2025 Valory AG
55
# Copyright 2018-2021 Fetch.AI Limited
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -216,7 +216,7 @@ def enqueue_task(
216216

217217
self._results_by_task_id[task_id] = async_result
218218
if self._logger: # pragma: nocover
219-
self._logger.info(f"Task <{func}{args}> set. Task id is {task_id}")
219+
self._logger.debug(f"Task <{func}{args}> set. Task id is {task_id}")
220220
return task_id
221221

222222
def get_task_result(self, task_id: int) -> AsyncResult:

tests/test_skills/test_task_subprocess.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# ------------------------------------------------------------------------------
33
#
4-
# Copyright 2022 Valory AG
4+
# Copyright 2022-2025 Valory AG
55
# Copyright 2018-2021 Fetch.AI Limited
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +41,7 @@ def test_task_run_in_a_subprocess(self):
4141
is_running = self.is_running(process)
4242
assert is_running, "AEA not running within timeout!"
4343
assert not self.missing_from_output(
44-
process, ["Task id is"], 10, is_terminating=False
44+
process, ["Task set"], 10, is_terminating=False
4545
)
4646
assert not self.missing_from_output(
4747
process, ["result is"], 10, is_terminating=False

0 commit comments

Comments
 (0)