On 25/2/22 22:01, Cleber Rosa wrote:
Since Avocado 92.0[1], there's no universal preservation of logged
content via Python's "logging" APIs into the test log files.  This
changes were motivated by the fact that doing so is intrusive as it
touches on Python's root logger.

Test writers are now expected to use "avocado." as a namespace prefix
for everything that Avocado should collect/preserve, and other
prefixes for logged content that should be handled differently.

[1] - 
https://avocado-framework.readthedocs.io/en/94.0/releases/92_0.html#users-test-writers

Signed-off-by: Cleber Rosa <cr...@redhat.com>
---
  tests/avocado/avocado_qemu/__init__.py    | 5 ++---
  tests/avocado/linux_initrd.py             | 3 +--
  tests/avocado/machine_arm_integratorcp.py | 3 +--
  tests/avocado/machine_mips_malta.py       | 3 +--
  tests/avocado/replay_kernel.py            | 5 ++---
  tests/avocado/replay_linux.py             | 5 ++---
  tests/avocado/reverse_debugging.py        | 5 ++---
  tests/avocado/tesseract_utils.py          | 6 +++---
  tests/avocado/virtio_check_params.py      | 3 +--
  9 files changed, 15 insertions(+), 23 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to