Page 1 of 1

how to stop wifi console log output

Posted: Thu Jun 22, 2017 2:14 am
by KevinLowe
After connecting to wifi,the serial output this log "I (5794127) wifi: n:6 0, o:6 1, ap:255 255, sta:6 0, prof:6" frequently(5794127 is timestamp and diffrent in each info). I want to stop this info output but also keep other info remain,where should I modify in code?

Re: how to stop wifi console log output

Posted: Thu Jun 22, 2017 3:10 am
by ESP_igrr

Re: how to stop wifi console log output

Posted: Thu Jun 22, 2017 3:44 am
by KevinLowe
#include "esp_log.h"
esp_log_level_set("wifi", ESP_LOG_WARN);


OK,it does work.Thanks!