Skip to content

Add timestamps to agent terminal output and daily log files#11

Merged
nkhdiscovery merged 3 commits intomainfrom
claude/add-logging-timestamps-l1pqO
May 1, 2026
Merged

Add timestamps to agent terminal output and daily log files#11
nkhdiscovery merged 3 commits intomainfrom
claude/add-logging-timestamps-l1pqO

Conversation

@nkhdiscovery
Copy link
Copy Markdown
Owner

@nkhdiscovery nkhdiscovery commented May 1, 2026

Summary

  • Prepend YYYY-MM-DD HH:MM:SS timestamps to every line in the HUMANISE jq filter in scripts/launch-agent.sh
  • Covers all event types: assistant text, tool calls, tool results, rate-limit events, and pass-through launcher messages
  • Both the terminal output (make agent-start) and the logs/daily/*.md files now include timestamps on every line

Example Output

2026-05-01 14:32:45 [launcher] cycle complete — queue empty, sleeping 60s
2026-05-01 14:33:10 → Bash({"command": "git status"})
2026-05-01 14:33:11   result: "On branch main..."
2026-05-01 14:33:12 Looks good, all clean.

https://claude.ai/code/session_013vFZbkPKahzg5fKk9SBiPH

claude added 3 commits May 1, 2026 23:00
- Implement setup_logging() function with console and file handlers
- Add date and time format (YYYY-MM-DD HH:MM:SS) to all log output
- Configure rotating file handler for logs in ./logs directory
- Both console and file logs now display consistent timestamps

https://claude.ai/code/session_013vFZbkPKahzg5fKk9SBiPH
Prepend YYYY-MM-DD HH:MM:SS to every line emitted by the HUMANISE jq
filter in launch-agent.sh — covers assistant text, tool calls, tool
results, rate-limit events, and pass-through launcher messages.

https://claude.ai/code/session_013vFZbkPKahzg5fKk9SBiPH
@nkhdiscovery nkhdiscovery changed the title Add timestamps to console and file logging Add timestamps to agent terminal output and daily log files May 1, 2026
@nkhdiscovery nkhdiscovery merged commit c7c65ce into main May 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants