[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:
1 parent
a7f43eda87
commit
ef07a339ab
7 files changed
+7
-22
No files matched your search
+1
-3
@@ -166,6 +166,7 @@ lib_deps =
|
||||
${libraries.arduinojson}
|
||||
${libraries.arduinolog}
|
||||
build_flags =
|
||||
'-DWM_DEBUG_LEVEL=1' ;WiFi Manager log level, valid values are: DEBUG_ERROR = 0, DEBUG_NOTIFY = 1, DEBUG_VERBOSE = 2, DEBUG_DEV = 3, DEBUG_MAX = 4
|
||||
-w ; supress all warnings
|
||||
; -E ; generate precompiled source file (.pio/build/*/src/main.ino.cpp.o), use for precompilator debuging only (prevent compilation to succeed)
|
||||
; '-DLOG_LEVEL=LOG_LEVEL_TRACE' ; Enable trace level logging
|
||||
@@ -184,7 +185,6 @@ build_flags =
|
||||
${env.build_flags}
|
||||
'-DENV_NAME="$PIOENV"'
|
||||
'-DZmqttDiscovery="HADiscovery"'
|
||||
'-DTRACE=1'
|
||||
'-DMQTTsetMQTT'
|
||||
'-DMQTT_HTTPS_FW_UPDATE'
|
||||
;'-DCORE_DEBUG_LEVEL=4'
|
||||
@@ -198,7 +198,6 @@ build_flags =
|
||||
${env.build_flags}
|
||||
'-DENV_NAME="$PIOENV"'
|
||||
'-DZmqttDiscovery="HADiscovery"'
|
||||
'-DTRACE=1'
|
||||
'-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED'
|
||||
'-DCONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED'
|
||||
'-DMQTTsetMQTT'
|
||||
@@ -214,7 +213,6 @@ lib_deps =
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
'-DZmqttDiscovery="HADiscovery"'
|
||||
'-DTRACE=1'
|
||||
|
||||
[com-arduino-low-memory]
|
||||
lib_deps =
|
||||
|
||||
Reference in new issue
Block a user