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

MNT: Use module-level logger #362

Merged

Conversation

greglucas
Copy link
Collaborator

Rather than using the global logger and updating the configuration globally, we should get a logger instance for each module that wants it and submit log messages to that specific logger.

@greglucas greglucas requested review from a team, bourque, sdhoyt, tech3371, laspsandoval and maxinelasp and removed request for a team March 13, 2024 16:44
Copy link
Collaborator

@bourque bourque left a comment

Choose a reason for hiding this comment

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

Good idea!

Rather than using the global logger and updating the configuration
globally, we should get a logger instance for each module that wants
it and submit log messages to that specific logger.
@greglucas greglucas merged commit b006adf into IMAP-Science-Operations-Center:dev Mar 13, 2024
15 of 17 checks passed
@greglucas greglucas deleted the logger-updates branch March 13, 2024 21:55
laspsandoval pushed a commit to laspsandoval/imap_processing that referenced this pull request Apr 2, 2024
…logger-updates

MNT: Use module-level logger
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

Successfully merging this pull request may close these issues.

2 participants