增加了log页面,但是没有后端

This commit is contained in:
zjk
2025-05-19 01:48:25 +08:00
parent d6e3d466b2
commit 9e1819cd75
2 changed files with 4 additions and 11 deletions
-8
View File
@@ -10,7 +10,6 @@
#include <fstream>
#include <deque>
#include "../LowerCommManager.h"
#include "../PowerManger.h"
#include <string>
#include <thread>
#include <atomic>
@@ -86,13 +85,6 @@ private:
std::deque<std::string> m_logCache; // 缓存最近的日志
static const size_t MAX_CACHE_SIZE = 1000; // 最大缓存条数
// Log monitoring
std::string m_logPath;
std::deque<std::string> m_logCache;
std::mutex m_logMutex;
std::vector<struct mg_connection*> m_logSubscribers;
std::mutex m_subscriberMutex;
std::atomic<off_t> m_lastLogSize;
};
#endif // HTTP_SERVER_H