How to disable massive logging of the memory_layout module?

papaluna
Posts: 50
Joined: Tue Jan 30, 2018 11:27 am

How to disable massive logging of the memory_layout module?

Postby papaluna » Tue Sep 11, 2018 12:16 pm

Using the master branch.

How can I disable specifically these DEBUG messages from "memory_layout "? I think it is part of the 2nd stage bootloader. The log bootloader level is set to INFO. The ESP32 log level is set to DEBUG.

menuconfig settings:
- CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
- CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y

https://gist.github.com/pantaluna/863eb ... 2519a92896

Code: Select all

...
I (1) cpu_start: App cpu up.
D (1120) memory_layout: Checking 7 reserved memory ranges:
D (1135) memory_layout: Reserved memory range 0x3ffae000 - 0x3ffae6e0
D (1155) memory_layout: Reserved memory range 0x3ffb0000 - 0x3ffb34f0
D (1175) memory_layout: Reserved memory range 0x3ffe0000 - 0x3ffe0440
D (1195) memory_layout: Reserved memory range 0x3ffe4000 - 0x3ffe4350
D (1215) memory_layout: Reserved memory range 0x40070000 - 0x40078000
D (1235) memory_layout: Reserved memory range 0x40078000 - 0x40080000
0x40080000: _WindowOverflow4 at C:/myiot/esp/esp-idf/components/freertos/xtensa_vectors.S:1685
...
The app_main() contains this but I realize that is too late:

Code: Select all

esp_log_level_set("memory_layout", ESP_LOG_ERROR);
esp_log_level_set("heap_init", ESP_LOG_ERROR);
Thanks.
--
Paul.

Who is online

Users browsing this forum: No registered users and 189 guests