Skip to content
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

Refactor: Do not touch the root logger #991

Open
gmuloc opened this issue Jan 3, 2025 · 0 comments
Open

Refactor: Do not touch the root logger #991

gmuloc opened this issue Jan 3, 2025 · 0 comments

Comments

@gmuloc
Copy link
Collaborator

gmuloc commented Jan 3, 2025

we should not modify the root logger but an anta logger. Right way to implement that would be to delete all handlers of the anta logger at the beginning of the function.
We used root logger to have logs from other libraries, maybe we could modify specific loggers (httpx, asyncio) instead when in ANTA_DEBUG mode.

Originally posted by @mtache in #981 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant