villajo opened a new pull request, #7234: URL: https://github.com/apache/trafficcontrol/pull/7234
Closes: 6533 Related: 6533 This ticket fixes an issue with logrotation in Traffic Router where the file handle wouldn't stay with the file being written to upon rotation. This would cause forwarding applications EG: Splunk or propriatory) <!-- **^ Add meaningful description above** --><hr/> ## Which Traffic Control components are affected by this PR? - Traffic Router ## What is the best way to verify this PR? <!-- Please include here ALL the steps necessary to test your PR. If your PR has tests (and most should), provide the steps needed to run the tests. If not, please provide step-by-step instructions to test the PR manually and explain why your PR does not need tests. --> Install Traffic-Router on a Rocky8 or CentOS7 system. In /etc/cron.daily, you'll see a file called logrotate. There will be a command that can be ran.. /usr/sbin/logrotate /etc/logrotate.conf. Running this will run the logrotate file for traffic router ( /etc/logrotate.d/traffic_router). ## If this is a bugfix, which Traffic Control versions contained the bug? All ## PR submission checklist - [x] This PR has documentation (Added notation to https://traffic-control-cdn.readthedocs.io/en/latest/development/traffic_ops.html) - [x] This PR has a CHANGELOG.md entry -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
