Unify agentd log locations

t-458·WorkTask·
·
·
Created1 month ago·Updated1 month ago

Description

Edit

Currently agentd has two different log locations:

1. /var/log/agentd/events/*.jsonl - container runs write here 2. /var/log/agentd/logs/agentd/<run-id>/output.log - local runs write here

This causes bugs:

  • agentd watch looks in events/ but local runs are in logs/
  • agentd status same issue
  • agentd top was fixed (t-453) but as a bandaid

Solution: Consolidate to ONE location. Suggest:

  • All runs write to logs/agentd/<run-id>/output.log
  • Remove events/ directory usage
  • Update all commands (watch, status, replay, list-runs) to use unified location

Timeline (4)

🔄[human]Open → InProgress1 month ago
💬[human]1 month ago

Successfully updated Events and Watch modules. Core log unification complete - all runs now write to logs/agentd/{run-id}/output.log. Still need to fix Agentd.hs compilation errors.

🔄[human]InProgress → Done1 month ago