(feature) Improve run debugging and log filtering #12

Merged
parkel merged 2 commits from issue-2-run-detail-logging-polish into master 2026-05-21 00:26:45 +02:00
Owner

Make failed and slow backups easier to debug from Django.

Changes include:

  • restructure run detail into clear debug sections
  • show rsync command and recent rsync log output inline
  • link to the full rsync log when available
  • surface failure classification prominently
  • show retention/prune warnings as a first-class panel
  • add log filtering by service, severity, time window, host, run id, and message text

Validation:

  • full Django backend test suite passes: 151 tests
  • Docker dev stack rebuilt and left healthy on port 8010

Closes #2

Make failed and slow backups easier to debug from Django. Changes include: - restructure run detail into clear debug sections - show rsync command and recent rsync log output inline - link to the full rsync log when available - surface failure classification prominently - show retention/prune warnings as a first-class panel - add log filtering by service, severity, time window, host, run id, and message text Validation: - full Django backend test suite passes: 151 tests - Docker dev stack rebuilt and left healthy on port 8010 Closes #2
parkel added 2 commits 2026-05-21 00:26:26 +02:00
Restructure the run detail page into clearer sections for summary, failure
classification, requested options, rsync command, rsync log output, stats,
retention, and raw result data.

Show recent rsync log output inline with a link to the full log, and promote
failure and retention warning details out of the JSON payload so failed or slow
runs are easier to debug from the control panel.
Extend the Django logs view with filters for service unit, severity, time
window, host, run id, and message text. Pass severity and time window directly
to journalctl, then apply host/run/message filtering to the returned pobsync
journal lines.

This makes failed or slow backups easier to investigate from the control panel
without needing shell access.
parkel merged commit 155ff63a73 into master 2026-05-21 00:26:45 +02:00
parkel deleted branch issue-2-run-detail-logging-polish 2026-05-21 00:26:45 +02:00
Sign in to join this conversation.