Skip to content

Add structured log for cache eviction events on creator endpoints #367

@Chucks1093

Description

@Chucks1093

Summary
When cached creator responses are evicted, there is no log entry to indicate why or when the eviction occurred. A debug-level structured log at the eviction point helps operators understand cache churn and tune TTLs without a full metrics setup.

Scope

  • identify where cache evictions are triggered for creator endpoint responses
  • add a debug-level structured log when an eviction occurs
  • include the cache key and eviction reason in the log fields

Acceptance Criteria

  • a cache eviction emits a debug-level log with key and reason
  • the log does not appear at info level in production
  • normal cache hits and misses are not affected

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions