You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/06/15 17:20:27 UTC

[GitHub] [trafficserver] bneradt commented on issue #7922: Rotated squid.log files have hostname coming from request

bneradt commented on issue #7922:
URL: https://github.com/apache/trafficserver/issues/7922#issuecomment-861684787


   Thank you for filing the issue. I'll look into this.
   
   In case it's helpful, starting from 9.1.x, ATS supports external log rotation utilities (such as [logrotate](https://linux.die.net/man/8/logrotate)) via the SIGUSR2 signal:
   https://docs.trafficserver.apache.org/en/9.1.x/appendices/command-line/traffic_manager.en.html?highlight=sigusr2#signals
   
   Thus, logrotate can be configured to rotate the logs and send a SIGUSR2 to the traffic_manager process which will then re-open its file descriptors. We (Yahoo!) are using logrotate and SIGUSR2 to handle log rotation.
   
   I mention this in case it's helpful to plan ahead for when you move to 9.1.x. In the meantime I'll look into the issues you reported here.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org