Skip to content

[WIP] Improve event logging for admin side#26

Merged
scottwf merged 1 commit into
mainfrom
copilot/enhance-event-logging
Dec 16, 2025
Merged

[WIP] Improve event logging for admin side#26
scottwf merged 1 commit into
mainfrom
copilot/enhance-event-logging

Conversation

Copilot AI commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Event Logging Enhancements

Implementing comprehensive event logging for admin visibility into system activities.

Plan

  • Add scan event logging table for Sonarr/Radarr library sync operations
  • Log scan start, completion, and statistics (shows/movies processed, duration)
  • Extend api_usage table to include prompt/query text for LLM operations
  • Create admin view to display scan event logs
  • Enhance existing webhook activity display in admin panel
  • Update API usage logs view to show query details
  • Add filtering and search capabilities for all event logs
  • Test all logging functionality
Original prompt

This section details on the original issue you should resolve

<issue_title>Logging events</issue_title>
<issue_description>The admin side needs better event logging. I would like to see when scans happen when webhooks are triggered. We have show event logging from plex and LLM reports for usage (cost and processing time), but these should also include the details of the query)</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scottwf scottwf marked this pull request as ready for review December 16, 2025 15:00
@scottwf scottwf merged commit 05a9ca6 into main Dec 16, 2025
1 check failed
Copilot AI requested a review from scottwf December 16, 2025 15:01
@scottwf scottwf deleted the copilot/enhance-event-logging branch January 2, 2026 19:31
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.

Logging events

3 participants