[P1] Event logger — structured logging of all SaltyBot activities #473

Closed
opened 2026-03-05 12:07:11 -05:00 by sl-jetson · 0 comments
Collaborator

Goal

Central structured event log for debugging, analytics, and behavior review.

Requirements

  • ROS2 node subscribing to all /saltybot/* state topics
  • Log events as structured JSON to /home/seb/saltybot-data/events/YYYY-MM-DD.jsonl
  • Event types: encounter, voice_command, trick, e-stop, geofence, dock, error, boot, shutdown
  • Each event: timestamp, type, source_node, data (flexible JSON), GPS coords if available
  • Query service: /saltybot/event_log/query (time range, event type filter)
  • Stats publisher: /saltybot/event_log/stats (events today, encounters today, errors today)
  • Rotation: compress logs older than 7 days, delete older than 90 days
  • Export: CSV dump for offline analysis
  • Dashboard integration: live event feed panel
## Goal Central structured event log for debugging, analytics, and behavior review. ## Requirements - ROS2 node subscribing to all /saltybot/* state topics - Log events as structured JSON to /home/seb/saltybot-data/events/YYYY-MM-DD.jsonl - Event types: encounter, voice_command, trick, e-stop, geofence, dock, error, boot, shutdown - Each event: timestamp, type, source_node, data (flexible JSON), GPS coords if available - Query service: /saltybot/event_log/query (time range, event type filter) - Stats publisher: /saltybot/event_log/stats (events today, encounters today, errors today) - Rotation: compress logs older than 7 days, delete older than 90 days - Export: CSV dump for offline analysis - Dashboard integration: live event feed panel
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#473
No description provided.