mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
Add separator log for log files so a new server starting is easier to find/notice
This commit is contained in:
+7
-1
@@ -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(`
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣴⣶⣿⠿⠛⠛⠛⠻⠿⣿⣿⣿⣿⣿⣶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
|
||||
Reference in New Issue
Block a user