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

Improve Logging of SPPMon and SPPCheck / Introduce exception serverity #113

Open
4 tasks
NielsKorschinsky opened this issue Aug 22, 2022 · 0 comments
Open
4 tasks
Labels
enhancement New feature or request Long Term Issue which isn't urgend, but should be solved sometimes. python Pull requests that update Python code SPPCheck Issues affecting SPPCheck
Milestone

Comments

@NielsKorschinsky
Copy link
Member

Is your feature request related to a problem? Please describe.

The logging of SPPMon and especially SPPCheck lacks clarity.
If a metric fails or SPPMon has collection errors, always multiple lines are issued due to the hierarchical exception system.
Also, some errors are more severe than others, with some, but not total relation to their hierarchical level.

Describe the solution you'd like

  • Introduce exception severity to the logger, allowing to declare which exceptions are critical and which are more of a warning
  • Re-work the print of the exceptions to make them more understandable
  • Summary at the very end with a distinction between exception serveries.
  • Interaction with the --debug and --verbose modes

Describe alternatives you've considered

Additional context

@NielsKorschinsky NielsKorschinsky added enhancement New feature or request Long Term Issue which isn't urgend, but should be solved sometimes. python Pull requests that update Python code SPPCheck Issues affecting SPPCheck labels Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Long Term Issue which isn't urgend, but should be solved sometimes. python Pull requests that update Python code SPPCheck Issues affecting SPPCheck
Projects
None yet
Development

No branches or pull requests

1 participant