-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Root logger is not avilible to avocado tests after the 92.0 LTS #3833
Comments
I'm updating my script, but @richtja do I understand this correctly, do we now have to add an additional line of boilerplate code to each and every test script - I counted 539 test scripts today only in this libvirt provider - to make sure the logs are not lost? |
Hi @smitterl If those scripts are using the root logger, unfortunately yes the change is necessary, because now the avocado only captures messages from the Avocado namespace context. |
|
In b2459dd the avocado stopped using the logs from root logger. Every avocado log are under avocado namespace now. This change was already accepted in avocado-vt. With those changes, every avocado-vt test has to use avocado namespace for logging, otherwise the logs will be lost, because the logs to root logger won't be used by avocado output. This is also part of Avocado 92.0 LTS version. As a solution, might be approach from avocado-vt adbfa56
The text was updated successfully, but these errors were encountered: