Title: gh-84649: Make TimedRotatingFileHandler use CTIME instead of MTIME by martonivan · Pull Request #24660 · python/cpython · GitHub
Open Graph Title: gh-84649: Make TimedRotatingFileHandler use CTIME instead of MTIME by martonivan · Pull Request #24660 · python/cpython
X Title: gh-84649: Make TimedRotatingFileHandler use CTIME instead of MTIME by martonivan · Pull Request #24660 · python/cpython
Description: The TimedRotatingFileHandler previously used MTIME attribute of the log file to detect whether it has to be rotate yet or not. In cases when the file is changed within the rotation period the MTIME is also updated to the current time and the rotation never happens. It's more appropriate to check the file creation time (CTIME) instead. https://bugs.python.org/issue40469 Issue: gh-84649
Open Graph Description: The TimedRotatingFileHandler previously used MTIME attribute of the log file to detect whether it has to be rotate yet or not. In cases when the file is changed within the rotation period the MTIME...
X Description: The TimedRotatingFileHandler previously used MTIME attribute of the log file to detect whether it has to be rotate yet or not. In cases when the file is changed within the rotation period the MTIME...
Opengraph URL: https://github.com/python/cpython/pull/24660
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d32d0e59-10f0-4740-7284-aa1dc12546a2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DEAC:22F65E:776B4:9ED6A:6A516C1E |
| html-safe-nonce | 223de29530a97c93667d262200bc7035021e24d81a7410826003eeed58451e97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFDOjIyRjY1RTo3NzZCNDo5RUQ2QTo2QTUxNkMxRSIsInZpc2l0b3JfaWQiOiI2ODc4ODA5NTc3MTI4ODE1NjQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c65cc909ed3db5a138de8a537345a5810688a6afefbeb755081a74b2868ab9ee |
| hovercard-subject-tag | pull_request:580801871 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/24660/files |
| twitter:image | https://avatars.githubusercontent.com/u/790608?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/790608?s=400&v=4 |
| og:image:alt | The TimedRotatingFileHandler previously used MTIME attribute of the log file to detect whether it has to be rotate yet or not. In cases when the file is changed within the rotation period the MTIME... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 60eaaf6d4dbaa817031b556aebd8a0a7eeb81b97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width