update current project state

This commit is contained in:
gqc
2026-07-03 20:55:15 +08:00
parent 6056b1fdc5
commit 13c4d03055
13 changed files with 1084 additions and 185 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
)
// Logger 全局日志实例
var Logger *log.Logger
var Logger = log.New(os.Stdout, "", log.LstdFlags)
var logFile *os.File
var logFileName string
var mu sync.Mutex
@@ -239,7 +239,7 @@ func CloseLogger() {
func CleanupOldLogs() {
// 清理system目录的日志文件
cleanupLogDirectory("/data/logs/system")
// 清理reporter目录的日志文件
cleanupLogDirectory("/data/logs/reporter")
}