diff --git a/main.go b/main.go index 1fbaf96..81d279f 100644 --- a/main.go +++ b/main.go @@ -20,6 +20,7 @@ import ( "jannex/log-manager/modules/structs" "jannex/log-manager/modules/utils" "jannex/log-manager/routers/router" + "time" "git.ex.umbach.dev/Alex/roese-utils/rsconfig" "github.com/gofiber/fiber/v2" @@ -68,7 +69,7 @@ func main() { loghandler.AddLog(structs.LogBody{ Type: "logserver", - Logs: []string{"Log Server started"}, + Logs: []string{time.Now().Format("02-01-2006 15:04:05") + "Log Server started"}, }) app.Listen(config.Cfg.Host + ":" + config.Cfg.Port)