logging
This commit is contained in:
parent
7700e9bd86
commit
951d15ac81
@ -75,7 +75,7 @@ void doLog(const String &path, const String &value, const bool isPassword, const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Serial.printf(
|
Serial.printf(
|
||||||
"[CONFIG] %-20s = %-30s [%s]\n",
|
"[CONFIG] %-25s = %-30s [%s]\n",
|
||||||
path.c_str(),
|
path.c_str(),
|
||||||
isPassword ? "*" : value.c_str(),
|
isPassword ? "*" : value.c_str(),
|
||||||
type == CONFIG_LOG_FALLBACK ? "fallback" : type == CONFIG_LOG_READ ? "READ" : type == CONFIG_LOG_UNCHANGED ? "UNCHANGED" : type == CONFIG_LOG_WRITE ? "WRITE" : ""
|
type == CONFIG_LOG_FALLBACK ? "fallback" : type == CONFIG_LOG_READ ? "READ" : type == CONFIG_LOG_UNCHANGED ? "UNCHANGED" : type == CONFIG_LOG_WRITE ? "WRITE" : ""
|
||||||
|
|||||||
@ -148,7 +148,7 @@ void httpSetup() {
|
|||||||
|
|
||||||
server.begin();
|
server.begin();
|
||||||
|
|
||||||
Serial.println("HTTP server started");
|
Serial.println("[HTTP] Server started");
|
||||||
httpRunning = true;
|
httpRunning = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,6 +160,6 @@ void httpStop() {
|
|||||||
if (httpRunning) {
|
if (httpRunning) {
|
||||||
httpRunning = false;
|
httpRunning = false;
|
||||||
server.stop();
|
server.stop();
|
||||||
Serial.println("HTTP server stopped");
|
Serial.println("[HTTP] Server stopped");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user