10000 Improve logging consistency in AntaTest and AntaDevice · Issue #1072 · aristanetworks/anta · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve logging consistency in AntaTest and AntaDevice #1072

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

Open
8314
carl-baillargeon opened this issue Mar 7, 2025 · 0 comments
Open

Improve logging consistency in AntaTest and AntaDevice #1072

carl-baillargeon opened this issue Mar 7, 2025 · 0 comments

Comments

@carl-baillargeon
Copy link
Contributor

Instead of specifying the device + test context in each log message, we could have a logger adapter or formatter to add the test and device automatically.

For example, in AntaTest we have:
Exception raised while collecting commands for test VerifyNTP (on device DC1-LEAF1A)
Test VerifyNTP initialized with input data

It could be something like:
<DC1-LEAF1A> [VerifyNTP]: Exception raised while collecting commands
<DC1-LEAF1A> [VerifyNTP]: Test initialized with input data

@carl-baillargeon carl-baillargeon added this to the v.1.4.0 milestone Apr 29, 2025
@carl-baillargeon carl-baillargeon removed this from the v.1.4.0 milestone May 10, 2025
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
0