Skip to content

Disable chip logging? #37

Open
Open
@emmby

Description

@emmby

Since upgrading to 1.0.0-beta6, I've started getting a lot of chip logging polluting my serial port, eg.:

09:06:12.025 -> I (13992) chip[IM]: 
09:06:12.025 -> D (13994) chip[DMG]: 
09:06:12.025 -> D (13996) chip[DMG]: 
09:06:12.025 -> I (13998) chip[EM]: 
09:06:12.025 -> I (14000) chip[IN]: 
09:06:12.025 -> D (14002) chip[EM]: 
09:06:15.471 -> I (17456) chip[EM]: 
09:06:15.471 -> D (17456) chip[EM]: 
09:06:15.471 -> I (17457) chip[IN]:  
09:06:12.025 -> D (13996) chip[DMG]: 
09:06:12.025 -> I (13998) chip[EM]: 
09:06:12.025 -> I (14000) chip[IN]: 
09:06:12.025 -> D (14002) chip[EM]: 
09:06:15.471 -> I (17456) chip[EM]: 
09:06:15.471 -> D (17456) chip[EM]: 
09:06:15.471 -> I (17457) chip[IN]: 
09:06:15.471 -> I (17457) chip[EM]: 
09:06:15.471 -> I (17458) chip[IN]: 
09:06:15.471 -> D (17459) chip[EM]: 
09:06:15.503 -> I (17459) chip[SC]: 
09:06:15.503 -> D (17460) chip[SC]: 
09:06:15.503 -> E (17465) chip[SC]: CASE failed to match destination ID with local fabrics
09:06:15.503 -> E (17482) chip[IN]: CASE Session establishment failed: 10
09:06:15.503 -> D (17486) chip[IN]: 
09:06:15.503 -> D (17488) chip[IN]: 
09:06:15.503 -> D (17489) chip[SC]: 
09:06:15.534 -> E (17491) chip[EM]: OnMessageReceived failed, err = 10
09:06:15.534 -> I (17529) chip[EM]: 
09:06:15.534 -> D (17529) chip[EM]: 
09:06:15.534 -> D (17530) chip[EM]: 
09:06:17.859 -> E (19844) chip[IN]: Data received on an unknown session (LSID=35276). Dropping it!

Is it possible to turn these logs off or are they just built into the binary now? I tried using esp_log_level_set("*", ESP_LOG_ERROR) but the logs keep coming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions