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

changed logger from root to bambuprinter #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ishanm0
Copy link

@ishanm0 ishanm0 commented May 28, 2024

The logger configuration file uses the "root" logger by default. However doing so makes it difficult for any other part of the Python program to use the logger (whether to output logs to your own files, change logger settings, or otherwise use any logger level below WARNING). It is possible to configure the logger configuration file to fix this, however this is buried in the packages directory and may be overwritten if updating the bpm pip package. I've instead changed the configuration file to use the "bambuprinter" logger directly, so only the logs generated by the bpm module are managed and output in this way.

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.

1 participant