esp32/modnetwork: Change network init logging from info to debug.
The network is now reliable enough that we don't need to spam the user
with init messages.
@@ -188,19 +188,19 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(get_wlan_obj, 0, 1, get_wlan);
STATIC mp_obj_t esp_initialize() {
static int initialized = 0;
if (!initialized) {
- ESP_LOGI("modnetwork", "Initializing TCP/IP");
+ ESP_LOGD("modnetwork", "Initializing TCP/IP");
tcpip_adapter_init();
- ESP_LOGI("modnetwork", "Initializing Event Loop");
+ ESP_LOGD("modnetwork", "Initializing Event Loop");
ESP_EXCEPTIONS( esp_event_loop_init(event_handler, NULL) );
- ESP_LOGI("modnetwork", "esp_event_loop_init done");
+ ESP_LOGD("modnetwork", "esp_event_loop_init done");
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
- ESP_LOGI("modnetwork", "Initializing WiFi");
+ ESP_LOGD("modnetwork", "Initializing WiFi");
ESP_EXCEPTIONS( esp_wifi_init(&cfg) );
ESP_EXCEPTIONS( esp_wifi_set_storage(WIFI_STORAGE_RAM) );
- ESP_LOGI("modnetwork", "Initialized");
+ ESP_LOGD("modnetwork", "Initialized");
ESP_EXCEPTIONS( esp_wifi_set_mode(0) );
ESP_EXCEPTIONS( esp_wifi_start() );
- ESP_LOGI("modnetwork", "Started");
+ ESP_LOGD("modnetwork", "Started");
initialized = 1;
}
return mp_const_none;
