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

SAR-393 Reduce logs spewed by device servers #148

Merged
merged 11 commits into from Jun 3, 2022

Conversation

kmadisa
Copy link
Contributor

@kmadisa kmadisa commented May 31, 2022

This change reduces the number of log entries made per attribute data parsed. I have change the log level of some log entries from INFO level to DEBUG level.
The rest of the other changes are just a result of applying the black formattor.

Screenshots or code snippets (if appropriate):
N/A

Definition of Done Checklist

  • Code meets our python style guidelines?
  • Unit tested (coded, passed, included)?
  • Requested at least 2 reviewers?
  • Commented code, particularly in hard-to-understand areas?
  • Made corresponding changes to the documentation (e.g. Python documentation, System Engineering Documentation, version description updates, README file, etc)?

JIRA: (SKA) SAR-393

Also changed the log level used by the parsers from info -> debug level.

Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
kmadisa and others added 3 commits June 2, 2022 15:42
This is to ensure we do not log when the list/set of invalid command properties is empty.

Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
@kmadisa kmadisa self-assigned this Jun 2, 2022
@kmadisa kmadisa marked this pull request as ready for review June 2, 2022 13:55
Copy link
Collaborator

@SKAJohanVenter SKAJohanVenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Should help a lot with the volume of logs

Copy link
Contributor

@samueltwum1 samueltwum1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can be merged if the pipeline passes.

tango_simlib/utilities/fandango_json_parser.py Outdated Show resolved Hide resolved
Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
@kmadisa
Copy link
Contributor Author

kmadisa commented Jun 3, 2022

Merging this PR as the Jenkins' build passed.
Screenshot from 2022-06-03 15-22-54

@kmadisa kmadisa merged commit 75673d7 into master Jun 3, 2022
@kmadisa kmadisa deleted the kmadisa/SAR-393/Reduce-logs-spewed-by-device-servers branch June 3, 2022 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants