Skip to content

Add Mail sync debug logging #9140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

asoucar
Copy link
Contributor

@asoucar asoucar commented May 8, 2025

Fixes #9143

First pass at adding Mail sync debugging for #8836
Logs to a file any debug messaging related to mail syncing and exports to a file when logging ends or file is exported manually.

TODO to consider feature complete:

  • The uncaught exception handler in case of crash
  • Original request includes a 24 hour limit on logging. The current sync logs are very minimal and so I don't think this will be an issue right off the bat. I want to follow up with that work but didn't have the time. My intention is to use a workmanager, either one of the current ones or a new one, to schedule the end of the logging, but am open to other ideas

@asoucar asoucar force-pushed the write-log-files branch 3 times, most recently from df57d34 to a6b00dc Compare May 28, 2025 14:31
@asoucar asoucar force-pushed the write-log-files branch from 937709c to 39f3ce9 Compare May 28, 2025 17:24
@asoucar asoucar closed this May 28, 2025
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.

Allow redirecting logging to a file
2 participants