Copies the home apps' log files to the pile on the NAS as they grow, keeping its place in each file (from at-home-tools, AHT-258)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nelson eb756dc0ae
All checks were successful
Suite release / finalize (push) Has been skipped
Suite release / scope (push) Successful in 23s
Suite release / publish (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / reserve (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / module (push) Successful in 1m7s
Take Go dependencies (#3)
2026-11-30 17:06:11 -08:00
go.mod Take Go dependencies (#3) 2026-11-30 17:06:11 -08:00
go.sum Take Go dependencies (#3) 2026-11-30 17:06:11 -08:00
logship.go Name search logs and search sessions, which replace log-search and session-search (AHT-250) (#2) 2026-11-30 05:15:22 -08:00
logship_test.go logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00
README.md logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00
sources_windows.go logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00
sources_windows_test.go logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00
watch_windows.go logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00
watch_windows_test.go logship moves in from at-home-tools, on the shared libraries (#1) 2026-11-29 23:21:44 -08:00

logship

Copies the home apps' log files to the pile on the NAS as they grow (AHT-25). A PC keeps writing its own files, so an outage costs nothing: log-ship keeps its place in each file and picks up from there, and session-index indexes the pile. home-sync writes log-ship's Config and reads the logs apps declare (Registered).

It was at-home-tools' logship package until shared packages got repositories of their own (AGT-85, AHT-258).

Using it

require forgejo.romaine.life/romaine-life/logship v0.1.0
import "forgejo.romaine.life/romaine-life/logship"

Testing

go test ./...; the source and watch tests are Windows-only and use temporary folders.

Shipping

A library: the release-module topic in pipeline-templates' fleet.json tags each merge that changes the code, and every fleet repository whose go.mod requires it gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to builds outside CI.