Skip to content

Conversation

@zaelgohary
Copy link
Contributor

@zaelgohary zaelgohary commented Dec 2, 2025

  • Batch async log writes (50 items, 500ms delay) to eliminate blocking
  • Filter dev tooling noise (Vite/HMR/Vue warnings) before queuing
  • Disable interception on DB failure to eliminate overhead
  • Cap in-memory logs (2000) and IndexedDB storage (10000 with rotation)
  • Filter Vue warnings to show only user-relevant logs
  • Prevent recursive interception and ensure cleanup on unmount

#4451
#4448

@zaelgohary zaelgohary changed the title Development console interception Optimize dashboard logger performance and console interception Dec 2, 2025

query.onsuccess = () => {
const cursor = query.result;
if (cursor) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I tried to see if it's actually deleting the logs but it reached here and the cursor was null, so nothing was deleted.

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

after the fix:
image

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.

3 participants