René's URL Explorer Experiment


Title: bpo-44186: prevent TimedRotatingFileHandler overwriting log files by Harry-Lees · Pull Request #26553 · python/cpython · GitHub

Open Graph Title: bpo-44186: prevent TimedRotatingFileHandler overwriting log files by Harry-Lees · Pull Request #26553 · python/cpython

X Title: bpo-44186: prevent TimedRotatingFileHandler overwriting log files by Harry-Lees · Pull Request #26553 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: When TimedRotatingFileHandler rotates, it deletes any files with the target name, this is especially noticeable if the rollover time is midnight as it will potentially overwrite an entire days logs...

X Description: When TimedRotatingFileHandler rotates, it deletes any files with the target name, this is especially noticeable if the rollover time is midnight as it will potentially overwrite an entire days logs...

Opengraph URL: https://github.com/python/cpython/pull/26553

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:99420af3-698d-944d-611f-1a3d230e5e8d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8458:1649B1:FA3411:14C60D2:6B064FE1
html-safe-nonce6da632b50f099e6b1563c219509be1378431191d7e7111bdf703528965c16ecb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDU4OjE2NDlCMTpGQTM0MTE6MTRDNjBEMjo2QjA2NEZFMSIsInZpc2l0b3JfaWQiOiI1ODY3MTcxOTcwOTIzNTE1ODczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac411783f9bbda90cbc22c59638455188faf9fbf0c7712d5c5829543c2de9b5fbb
hovercard-subject-tagpull_request:662648739
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/26553/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9ebae5086a442b9ca067c554198eb4edb906f05cc93bc3f5a2ab8497d30ff0b3/python/cpython/pull/26553
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ebae5086a442b9ca067c554198eb4edb906f05cc93bc3f5a2ab8497d30ff0b3/python/cpython/pull/26553
og:image:altWhen TimedRotatingFileHandler rotates, it deletes any files with the target name, this is especially noticeable if the rollover time is midnight as it will potentially overwrite an entire days logs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHarry-Lees
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/26553#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26553
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26553
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/26553
Reloadhttps://github.com/python/cpython/pull/26553
Reloadhttps://github.com/python/cpython/pull/26553
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
Harry-Leeshttps://github.com/Harry-Lees
python:mainhttps://github.com/python/cpython/tree/main
Harry-Lees:bpo-44186https://github.com/Harry-Lees/cpython/tree/bpo-44186
Conversationhttps://github.com/python/cpython/pull/26553
Commits7 (7)https://github.com/python/cpython/pull/26553/commits
Checkshttps://github.com/python/cpython/pull/26553/checks
Files changedhttps://github.com/python/cpython/pull/26553/files
bpo-44186: prevent TimedRotatingFileHandler overwriting log fileshttps://github.com/python/cpython/pull/26553#top
Harry-Leeshttps://github.com/Harry-Lees
python:mainhttps://github.com/python/cpython/tree/main
Harry-Lees:bpo-44186https://github.com/Harry-Lees/cpython/tree/bpo-44186
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
Jun 5, 2021https://github.com/python/cpython/pull/26553#issue-912494700
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://bugs.python.org/issue44186https://bugs.python.org/issue44186
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/Harry-Lees
bpo-44186: prevent TimedRotatingFileHandler overwriting log fileshttps://github.com/python/cpython/pull/26553/commits/823c5ffbb8baa344b1758f015911ff2dbff2c8e1
823c5ffhttps://github.com/python/cpython/pull/26553/commits/823c5ffbb8baa344b1758f015911ff2dbff2c8e1
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
vsajiphttps://github.com/vsajip
code ownerhttps://github.com/python/cpython/blob/6e3b7cf3af3ed7758b2c2193c1d393feb8ab8f72/.github/CODEOWNERS#L34
June 5, 2021 23:12https://github.com/python/cpython/pull/26553#event-4847308606
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jun 5, 2021https://github.com/python/cpython/pull/26553#event-4847308644
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 5, 2021https://github.com/python/cpython/pull/26553#event-4847308659
https://github.com/vsajip
vsajiphttps://github.com/vsajip
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jun 15, 2021https://github.com/python/cpython/pull/26553#event-4890513236
https://github.com/vsajip
vsajiphttps://github.com/vsajip
Jun 15, 2021 https://github.com/python/cpython/pull/26553#pullrequestreview-683799075
View reviewed changes https://github.com/python/cpython/pull/26553/files/823c5ffbb8baa344b1758f015911ff2dbff2c8e1
vsajiphttps://github.com/vsajip
https://github.com/python/cpython/pull/26553#pullrequestreview-683799075
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
Lib/logging/handlers.pyhttps://github.com/python/cpython/pull/26553/files/823c5ffbb8baa344b1758f015911ff2dbff2c8e1#diff-0798fd5bd555ae6d7713d10e5266a8bcd7a9800f1fd38d74f09e7bda68a79ebe
vsajiphttps://github.com/vsajip
Jun 15, 2021https://github.com/python/cpython/pull/26553#discussion_r651634203
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
Harry-Leeshttps://github.com/Harry-Lees
Jun 15, 2021https://github.com/python/cpython/pull/26553#discussion_r651674946
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
Lib/logging/handlers.pyhttps://github.com/python/cpython/pull/26553/files/823c5ffbb8baa344b1758f015911ff2dbff2c8e1#diff-0798fd5bd555ae6d7713d10e5266a8bcd7a9800f1fd38d74f09e7bda68a79ebe
vsajiphttps://github.com/vsajip
Jun 15, 2021https://github.com/python/cpython/pull/26553#discussion_r651635586
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
Harry-Leeshttps://github.com/Harry-Lees
Jun 15, 2021https://github.com/python/cpython/pull/26553#discussion_r651668187
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 15, 2021https://github.com/python/cpython/pull/26553#event-4890587236
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 15, 2021https://github.com/python/cpython/pull/26553#issuecomment-861361630
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
Jun 15, 2021https://github.com/python/cpython/pull/26553#issuecomment-861392773
Please reload this pagehttps://github.com/python/cpython/pull/26553
Harry-Leeshttps://github.com/Harry-Lees
June 20, 2021 17:26https://github.com/python/cpython/pull/26553#commits-pushed-f2f269a
https://github.com/Harry-Lees
removed redundant regex groups and added support for one or more numbershttps://github.com/python/cpython/pull/26553/commits/f2f269a7a510539168ce00e841233a710b0f9913
f2f269ahttps://github.com/python/cpython/pull/26553/commits/f2f269a7a510539168ce00e841233a710b0f9913
https://github.com/Harry-Lees
updated docs to reflect changehttps://github.com/python/cpython/pull/26553/commits/b6d220f5785cf0a2b5448722fb96f3e6f4190206
b6d220fhttps://github.com/python/cpython/pull/26553/commits/b6d220f5785cf0a2b5448722fb96f3e6f4190206
https://github.com/Harry-Lees
updated ACKShttps://github.com/python/cpython/pull/26553/commits/8b21aa54cf0099af29d36248ebee10da3919be9f
8b21aa5https://github.com/python/cpython/pull/26553/commits/8b21aa54cf0099af29d36248ebee10da3919be9f
https://github.com/Harry-Lees
added testshttps://github.com/python/cpython/pull/26553/commits/15ce117723a9ec6a5a1648c48e97abf2893461c2
15ce117https://github.com/python/cpython/pull/26553/commits/15ce117723a9ec6a5a1648c48e97abf2893461c2
https://github.com/Harry-Lees
trimmed trailing whitespacehttps://github.com/python/cpython/pull/26553/commits/d1203123b41b595c36c9b9e46ad68e6d720b5142
d120312https://github.com/python/cpython/pull/26553/commits/d1203123b41b595c36c9b9e46ad68e6d720b5142
https://github.com/Harry-Lees
changed testing methodology to fix Windows buildhttps://github.com/python/cpython/pull/26553/commits/1f94389918f5f1fe25cbf3aa9860b166dd76d967
1f94389https://github.com/python/cpython/pull/26553/commits/1f94389918f5f1fe25cbf3aa9860b166dd76d967
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
Jun 21, 2021https://github.com/python/cpython/pull/26553#issuecomment-865388108
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
vsajiphttps://github.com/vsajip
June 21, 2021 22:42https://github.com/python/cpython/pull/26553#event-4919442328
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 30, 2021https://github.com/python/cpython/pull/26553#issuecomment-889535398
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jul 30, 2021https://github.com/python/cpython/pull/26553#event-5088814860
https://github.com/vsajip
vsajiphttps://github.com/vsajip
Aug 2, 2021https://github.com/python/cpython/pull/26553#issuecomment-890791531
https://docs.python.org/3/howto/logging-cookbook.html#patterns-to-avoidhttps://docs.python.org/3/howto/logging-cookbook.html#patterns-to-avoid
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/vsajip
vsajiphttps://github.com/vsajip
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 2, 2021https://github.com/python/cpython/pull/26553#event-5097254933
https://github.com/vsajip
vsajiphttps://github.com/vsajip
Aug 2, 2021 https://github.com/python/cpython/pull/26553#pullrequestreview-719914657
View reviewed changes https://github.com/python/cpython/pull/26553/files/1f94389918f5f1fe25cbf3aa9860b166dd76d967
Doc/library/logging.handlers.rsthttps://github.com/python/cpython/pull/26553/files/1f94389918f5f1fe25cbf3aa9860b166dd76d967#diff-5692f9fda544cbce4ec79da74e8ee22173edf847a8e90340952db772dd123535
vsajiphttps://github.com/vsajip
Aug 2, 2021https://github.com/python/cpython/pull/26553#discussion_r680734758
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
bpo-43344https://bugs.python.org/issue?@action=redirect&bpo=43344
bpo-44753https://bugs.python.org/issue?@action=redirect&bpo=44753
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/vsajip
vsajiphttps://github.com/vsajip
Aug 3, 2021 https://github.com/python/cpython/pull/26553#pullrequestreview-720787451
View reviewed changes https://github.com/python/cpython/pull/26553/files/1f94389918f5f1fe25cbf3aa9860b166dd76d967
Lib/logging/handlers.pyhttps://github.com/python/cpython/pull/26553/files/1f94389918f5f1fe25cbf3aa9860b166dd76d967#diff-0798fd5bd555ae6d7713d10e5266a8bcd7a9800f1fd38d74f09e7bda68a79ebe
vsajiphttps://github.com/vsajip
Aug 3, 2021https://github.com/python/cpython/pull/26553#discussion_r681441598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
Harry-Leeshttps://github.com/Harry-Lees
Aug 3, 2021https://github.com/python/cpython/pull/26553#discussion_r681724901
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
vsajiphttps://github.com/vsajip
Aug 3, 2021https://github.com/python/cpython/pull/26553#discussion_r681934144
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
vsajiphttps://github.com/vsajip
Aug 3, 2021https://github.com/python/cpython/pull/26553#discussion_r681937501
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/python/cpython/pull/26553
aeghttps://github.com/python/cpython/pull/26553
Apr 10, 2022 https://github.com/python/cpython/pull/26553#ref-issue-1199058765
TimedRotatingFileHandler overwrite log #88352 https://github.com/python/cpython/issues/88352
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/26553#event-6988862954
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 1, 2024https://github.com/python/cpython/pull/26553#issuecomment-1973520552
@Harry-Leeshttps://github.com/Harry-Lees
#116191https://github.com/python/cpython/pull/116191
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 1, 2024https://github.com/python/cpython/pull/26553#event-11981847811
https://github.com/Harry-Lees
Harry-Leeshttps://github.com/Harry-Lees
March 2, 2024 10:48https://github.com/python/cpython/pull/26553#event-11987142466
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26553
https://github.com/vsajip
vsajip https://github.com/vsajip
https://github.com/python/cpython/pull/26553/files/1f94389918f5f1fe25cbf3aa9860b166dd76d967
Please reload this pagehttps://github.com/python/cpython/pull/26553
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/26553
https://github.com/Harry-Lees
https://github.com/bedevere-bot
https://github.com/vsajip
https://github.com/serhiy-storchaka
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.