Skip to content

feat(log): timestamp activity log entries - #260

Merged
gnacho merged 1 commit into
mainfrom
feat/259-activity-log-timestamps
Nov 1, 2026
Merged

gnacho merged 1 commit into
mainfrom
feat/259-activity-log-timestamps

Conversation

@gnacho

@gnacho gnacho commented Nov 1, 2026

Copy link
Copy Markdown
Owner

What

Prefix every activity log line with an RFC 3339 timestamp inside LogBuffer::append, before redaction and storage. The clock is injectable for tests, and glib::DateTime::now_local() supplies local time with its numeric offset, with a UTC Z fallback.

Why

The daily log preserved event order but not when each event happened. Correlating it with the system journal during startup diagnoses required guessing. Closes #259.

Verification

  • cargo test --lib core::log: 13 passed
  • cargo test --lib: 739 passed, 0 failed, 1 ignored
  • cargo clippy --all-targets -- -D warnings: clean
  • cargo fmt --all -- --check: clean

@gnacho
gnacho merged commit 56fb4fe into main Nov 1, 2026
2 checks passed
@gnacho
gnacho deleted the feat/259-activity-log-timestamps branch November 1, 2026 16:46
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.

Activity log entries have no timestamps

1 participant