added system log
parent
e10510b56c
commit
c9b50db0d1
|
@ -212,7 +212,7 @@ func CheckForDeletableLogs() {
|
|||
|
||||
AddLog(structs.LogBody{
|
||||
Type: "system",
|
||||
Logs: []string{"I "+ utils.GetTime() + "LogManager: Deleted log file " + path + " because it was older than " + strconv.Itoa(daysToKeepLogs) + " days."},
|
||||
Logs: []string{"I " + utils.GetTime() + "LogManager: Deleted log file " + path + " because it was older than " + strconv.Itoa(daysToKeepLogs) + " days."},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package structs
|
||||
|
||||
import "github.com/google/uuid"
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type SSEClient struct {
|
||||
MessageChannel chan SSEClientChannelMessage
|
||||
|
|
Loading…
Reference in New Issue