Skip to content

feat: Add outlook detailed logs toggle#3199

Merged
jeanfbrito merged 8 commits intodevfrom
merge/master-into-dev
Feb 12, 2026
Merged

feat: Add outlook detailed logs toggle#3199
jeanfbrito merged 8 commits intodevfrom
merge/master-into-dev

Conversation

@jeanfbrito
Copy link
Copy Markdown
Member

@jeanfbrito jeanfbrito commented Feb 11, 2026

Detailed Events Logging

A new toggle to log full event data exchanged between Outlook and Rocket.Chat during calendar sync, useful for diagnosing sync issues.

How to enable

  1. Open Settings (gear icon or Ctrl+, / Cmd+,)
  2. Go to the Developer tab
  3. Turn on Detailed Events Logging (below the existing Verbose Outlook Logging toggle)

How to view the logs

  1. Open the Log Viewer window via Help > Open Log Viewer (or Ctrl+Shift+L / Cmd+Shift+L)
  2. Select the Outlook context filter in the dropdown to see only Outlook-related entries
  3. Set level filter to Debug to focus on event detail entries

What gets logged

When enabled, the following data is logged at each sync stage:

  • Exchange fetch: full AppointmentData for each mapped appointment
  • Rocket.Chat fetch: full events response from RC server API
  • Create/Update/Delete operations: full request payload and API response
  • Sync comparison: field-by-field diff for changed events, new events from Exchange
  • Sync summary: counts of created, updated, deleted, and unchanged events

All entries use the [OutlookCalendar:Events] prefix and DEBUG level.

Log Viewer Filter Fix

The Outlook context filter now uses structured tag matching against the classified context tags instead of broad substring search, eliminating false positives from URLs or other text that happened to contain filter keywords.

Test plan

  • yarn lint passes
  • yarn test — 213 tests pass
  • Verify detailed events logging toggle appears in Settings > Developer tab
  • Enable the toggle and trigger a calendar sync — full event data should appear in logs
  • Disable the toggle — no event detail logs should appear
  • Open Log Viewer and select Outlook filter — only OutlookCalendar entries shown, no false positives
  • Toggle state persists across app restarts

Summary by CodeRabbit

  • New Features

    • Log Viewer: openable window with search, filtering, live-update, export, clear, and menu shortcut (Ctrl/Cmd+Shift+L).
    • Developer settings: new Developer tab with toggles for verbose Outlook logging and detailed event logging.
  • Chores

    • Expanded app-wide structured logging, renderer console capture, scoped loggers, and automatic old-log cleanup; privacy redaction scaffolding added.
  • Documentation

    • New consolidated development guidelines and Outlook logging docs.
  • Tests

    • Added unit tests for Outlook URL handling.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant