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

Add settings for finer control over debug log level. #22426

Merged
merged 2 commits into from
May 5, 2024

Conversation

Nerivec
Copy link
Collaborator

@Nerivec Nerivec commented May 3, 2024

Implements #22342 via regex-based string setting.

Add setting to publish debug level to MQTT (and frontend).
Transport created is slightly different, based on that setting on startup, to avoid unnecessary runtime checks.

TODO:

@Nerivec Nerivec force-pushed the logger-settings branch from cd1819f to 51eaa0a Compare May 3, 2024 13:05
lib/extension/bridge.ts Outdated Show resolved Hide resolved
@Koenkk
Copy link
Owner

Koenkk commented May 4, 2024

Introduce settings in other schemas.

What other schemas do you mean here?

@Nerivec
Copy link
Collaborator Author

Nerivec commented May 4, 2024

I had this in mind, but they don't have that section of the configuration.yaml. So I guess none?

@Koenkk
Copy link
Owner

Koenkk commented May 5, 2024

Hass addon doesn't have to be updated, it's is configured via the UI.

Note to self; after this merge Koenkk/zigbee2mqtt.io#2737

@Nerivec Nerivec force-pushed the logger-settings branch from 960f076 to 507b054 Compare May 5, 2024 19:27
@Nerivec Nerivec force-pushed the logger-settings branch from 2b51f94 to 115839f Compare May 5, 2024 19:49
@Koenkk Koenkk merged commit eb49f52 into Koenkk:dev May 5, 2024
8 checks passed
@Nerivec Nerivec deleted the logger-settings branch May 5, 2024 19:57
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