This commit is contained in:
Dmitry Borisenko
2022-09-08 19:30:53 +02:00
parent 89ddd0fbe3
commit 5e8120086b

View File

@@ -158,7 +158,7 @@ class Loging : public IoTItem {
//удаление старых файлов //удаление старых файлов
if ((fileUnixTime + (points * (interval / 1000))) < (unixTime - (keepdays * 86400))) { if ((fileUnixTime + (points * (interval / 1000))) < (unixTime - (keepdays * 86400))) {
SerialPrint("i", F("Loging"), "'" + id + "' file '" + buf + "' too old, deleted"); SerialPrint("i", F("Loging"), "file '" + buf + "' too old, deleted");
removeFile(buf); removeFile(buf);
} else { } else {
createJson(buf, i, mqtt); createJson(buf, i, mqtt);