Skip to content

Improve: add date folders for log files#18792

Merged
robertSt7 merged 9 commits into12.xfrom
15952-feature-use-subfolders-in-email-storage-to-prevent-a-flat-list
Nov 12, 2025
Merged

Improve: add date folders for log files#18792
robertSt7 merged 9 commits into12.xfrom
15952-feature-use-subfolders-in-email-storage-to-prevent-a-flat-list

Conversation

@robertSt7
Copy link
Copy Markdown
Contributor

resolves #15952

@robertSt7 robertSt7 added this to the 12.3.0 milestone Oct 30, 2025
@robertSt7 robertSt7 self-assigned this Oct 30, 2025
@github-actions
Copy link
Copy Markdown

Review Checklist

  • Target branch (11.5 for bug fixes, others 12.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@kingjia90
Copy link
Copy Markdown
Contributor

kingjia90 commented Oct 30, 2025

I feel it would be better if the check fileExists are always on the ones with the date aka getHtmlLogFilenameWithDate first, and only when not found, it should fallback to check the one without date (and log/warn that they need to run migration or manually fix it), by assuming that the devs already ran the migration right after upgrade and the files are almost surely in the new format.

robertSt7 and others added 2 commits October 31, 2025 11:40
Co-authored-by: JiaJia Ji <kingjia90@gmail.com>
…folders-in-email-storage-to-prevent-a-flat-list
…folders-in-email-storage-to-prevent-a-flat-list
@sonarqubecloud
Copy link
Copy Markdown

@robertSt7 robertSt7 merged commit 48541a9 into 12.x Nov 12, 2025
14 checks passed
@robertSt7 robertSt7 deleted the 15952-feature-use-subfolders-in-email-storage-to-prevent-a-flat-list branch November 12, 2025 15:59
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Use subfolders in email storage to prevent a flat list of 10k+ files

4 participants