Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FIX: Remove Duplicate Logging #72

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

zdomke
Copy link
Collaborator

@zdomke zdomke commented Oct 17, 2024

I found where the duplicate logging was coming from. A second logger was always being created in trace_file_convert.py when it should have only been creating a logger if one didn't already exist.

Solution:
Get the logger (same name PyDM uses) and check if it has handlers. If handlers don't exist, then add them.

@zdomke zdomke merged commit 19e12ff into slaclab:main Oct 31, 2024
7 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant