Windows log rotation PermissionError handling approaches
Cluster 44873 · agent. Data as of
Nothing open on GitHub. Fix merged in #46794. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #46794. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #46794. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug report and multiple proposed fixes addressing PermissionError raised during RotatingFileHandler.doRollover() on Windows, with approaches ranging from catching the exception to aliasing or switching to ConcurrentRotatingFileHandler.
Open issues0
Open PRs0
Fixes on record
-
#46794 fix(logging): alias RotatingFileHandler to concurrent-log-handler (salvage #44921)
files:
hermes_logging.py,pyproject.toml,tests/test_hermes_logging.py
3 PRs closed without merging
From the close comments: closed without comment 2 · superseded by another PR 1
- #44904 fix(logging): use ConcurrentRotatingFileHandler to fix Windows rollover PermissionError (#44873) · closed without comment
- #44974 fix(logging): catch PermissionError in Windows log rotation (#44873) · closed without comment
-
#45062 fix(logging): catch PermissionError in doRollover (#44873) · superseded by another PR →
#44974,#44873
Closed issues · 1
- Closed#44873[Bug]: RotatingFileHandler.doRollover() raises PermissionError [WinError 32] on Windows — uncaught, spams stderr on every emit
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #46794
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 17 Jun 2026