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

Fix homeassistant.log showing debug level logs by default #178

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

Conversation

fabianflanhardt
Copy link

@fabianflanhardt fabianflanhardt commented Jul 26, 2024

Setting LOGGER and handler level to DEBUG by default causes lots of DEBUG level entries coming from this extension by default. DEBUG log entries cannot be disabled by changing the log level in configuration.,yaml

Removing the lines below from constants enables the following log behavior:

  • Debug Entries are not logged by default
  • Setting log level for this extension in configuration.yaml to debug makes debug level entries appear in homeassistant.log.

@fabianflanhardt
Copy link
Author

Hey @tahvane1, can you have a look at this PR and merge if the change is OK for you?

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