Skip to content

Disable log output (GIT8266O-660) #1082

Open
@vyacheslav-shubin

Description

@vyacheslav-shubin

How to disable log output?

int log_handler(int ch) {
return 0;
}

void app_main() {
esp_log_set_putchar(log_handler);
esp_log_level_set("wifi", ESP_LOG_NONE);

Has no effect.

I (4238) wifi:state: 0 -> 2 (b0)
I (4285) wifi:state: 2 -> 3 (0)
I (4291) wifi:state: 3 -> 5 (10)
I (14290) wifi:state: 5 -> 0 (cc00)
I (16470) wifi:state: 0 -> 2 (b0)
I (16508) wifi:state: 2 -> 3 (0)
I (16514) wifi:state: 3 -> 5 (10)
I (16547) wifi:connected with ******, aid = 1, channel 6, HT20, bssid = ******
I (81655) wifi:bcn_timout,ap_probe_send_start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions