# Event Logger Configuration

event_logger_node:
  ros__parameters:
    # Data directory for event logs (expands ~)
    data_dir: ~/.saltybot-data/events

    # Log rotation settings
    rotation_days: 7          # Compress files older than 7 days
    retention_days: 90        # Delete files older than 90 days

    # Event type mapping (topic -> event_type)
    event_types:
      first_encounter: encounter
      voice_command: voice_command
      trick_state: trick
      emergency_stop: e-stop
      geofence: geofence
      dock_state: dock
      error: error
      system_boot: boot
      system_shutdown: shutdown

    # Subscribed topics (relative to /saltybot/)
    subscribed_topics:
      - first_encounter
      - voice_command
      - trick_state
      - emergency_stop
      - geofence
      - dock_state
      - error
      - system_boot
      - system_shutdown

    # Publishing settings
    stats_publish_interval: 60        # Seconds between stats publishes
    rotation_check_interval: 3600     # Seconds between rotation checks
