Add separator log for log files so a new server starting is easier to find/notice

This commit is contained in:
IRHM
2026-06-28 00:18:05 +01:00
committed by momi
parent cc9f246c9a
commit 23ed5ffca8
+7 -1
View File
@@ -66,7 +66,13 @@ func main() {
}
multiw := logging.Setup(path.Join(config.DataPath, "watcharr.log"))
slog.Info("Watcharr Starting", "version", version)
// Just a nice separator so when inspecting the log file I know when
// logs are for a new instance.
fmt.Fprintf(multiw, `
Stand back. Watcharr is starting.
`)
slog.Info("Watcharr starting", "version", version)
fmt.Printf(`
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣴⣶⣿⠿⠛⠛⠛⠻⠿⣿⣿⣿⣿⣿⣶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀