[SYS] Avoid logging sensitive information on serial (#1879)

WiFi Manager log level to Notify
Remove MQTT information to serial
Remove system information to serial when changing with WebUI
This commit is contained in:
Florian authored and GitHub committed 2024-01-27 17:32:29 -06:00
1 parent a7f43eda87
commit ef07a339ab
7 files changed
+7 -22

No files matched your search

+2 -3
View File
@@ -1712,7 +1712,7 @@ extends = env:esp32c3-dev-c2-ble
build_flags =
${env:esp32c3-dev-c2-ble.build_flags}
'-DLOG_LEVEL=LOG_LEVEL_SILENT' ; ommit logging for increased stability
'-DWM_DEBUG_LEVEL=0'
'-DWM_DEBUG=0'
custom_description = BLE gateway on Espressiv ESP32-C3-DevKitC-02 without logging
; Wemos Lolin C3 mini v2.1.0
@@ -1742,7 +1742,7 @@ build_flags =
; As a default we disable serial output. Use the _with_serial environment if you
; need serial output for debugging purposes.
'-DLOG_LEVEL=LOG_LEVEL_SILENT' ; disable serial logging.
'-DWM_DEBUG_LEVEL=0' ; disable serial logging.
'-DWM_DEBUG=0' ; disable serial logging.
custom_description = BLE gateway on ESP32C3
custom_hardware = Wemos Lolin C3 mini v2.1.0
@@ -1751,7 +1751,6 @@ extends = env:esp32c3_lolin_mini
build_flags =
${env:esp32c3_lolin_mini.build_flags}
'-DLOG_LEVEL=LOG_LEVEL_NOTICE' ;default
'-DWM_DEBUG_LEVEL=1' ;DEBUG_NOTIFY=1, default value
; Serial output via USB
'-DCONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=true'
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'