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

Handling of console logging (CON-1336) #1084

Open
sdrasti opened this issue Sep 18, 2024 · 4 comments
Open

Handling of console logging (CON-1336) #1084

sdrasti opened this issue Sep 18, 2024 · 4 comments

Comments

@sdrasti
Copy link

sdrasti commented Sep 18, 2024

What is the best approach to filter the different types of console log messages and redirect them into the appropriate slots of a messaging system?

I (1513) wifi:<ba-add>idx:0 (ifx:0, d4:24:dd:91:83:05), tid:0, ssn:1, winSize:64
I (1533) chip[ZCL]: Using ZAP configuration...
I (1533) esp_matter_cluster: Cluster plugin init common callback
I (1533) chip[DMG]: AccessControlCluster: initializing
I (1583) esp_matter_core: Dynamic endpoint 0 added
I (1613) chip[DL]: WIFI_EVENT_STA_START
I (1673) NimBLE: GAP procedure initiated: stop advertising.
@github-actions github-actions bot changed the title Handling of console logging Handling of console logging (CON-1336) Sep 18, 2024
@jonsmirl
Copy link
Contributor

Check this out
#999

@sdrasti
Copy link
Author

sdrasti commented Sep 20, 2024

@jonsmirl Thanks!

@sdrasti sdrasti closed this as completed Sep 20, 2024
@sdrasti
Copy link
Author

sdrasti commented Sep 20, 2024

@jonsmirl Do you know how one could disable CHIP logging or portions of it via Kconfig? I don't find related entries in the esp-matter sdkconfig, but in the connectedhomeip platform-configs there are defines like CONFIG_CHIP_USE_LOGGING, CONFIG_CHIP_DETAIL_LOGGING, CONFIG_CHIP_PROGRESS_LOGGING or CONFIG_CHIP_ERROR_LOGGING. I wonder how to set them within the esp-matter SDK?

@jonsmirl
Copy link
Contributor

It is possible to control the CHIP logging, however, I have forgotten how to do it. The Espressif people know how, they should post an answer when they wake up.

@sdrasti sdrasti reopened this Sep 21, 2024
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

No branches or pull requests

2 participants