+1 

> On Jan 24, 2020, at 10:12 AM, David Calavera <david.calav...@gmail.com> wrote:
> 
> Great idea. +1
> 
>> On Fri, Jan 24, 2020 at 10:06 AM Steven R. Feltner <sfelt...@godaddy.com>
>> wrote:
>> 
>> 
>> +1
>> 
>> On 1/24/20, 10:43 AM, "Leif Hedstrom" <zw...@apache.org> wrote:
>> 
>>>> On Jan 24, 2020, at 10:06 AM, Bryan Call <bc...@apache.org> wrote:
>>> 
>>> +1 - supports the UNIX Philosophy of having each program do one
>> thing well
>> 
>>    +1.
>> 
>>    Someone please tell that to the systemd people too …
>> 
>>    — Leif
>> 
>>> 
>>> -Bryan
>>> 
>>> 
>>>> On Jan 23, 2020, at 9:16 AM, Brian Neradt <brian.ner...@gmail.com>
>> wrote:
>>>> 
>>>> Context
>>>> ======
>>>> 
>>>> Traffic Server currently implements its own mechanism for rotating
>> its logs
>>>> and cleaning up (i.e., deleting) rotated logs based upon configured
>>>> constraints. These features seem to have been developed at a time
>> when
>>>> third party tools for managing such logs were non-existent or
>> immature.
>>>> Today administrators have tools such as logrotate they can use to
>> manage
>>>> logs. Such tools handle log rotation and deletion (and compression,
>>>> automated emailing, and other related features) in a way that
>>>> administrators are generally familiar with and would prefer to use
>> for
>>>> consistency across their log management needs. After rotating their
>> logs,
>>>> these tools send a signal to the process generating the logs so
>> they can
>>>> close and re-open the logs. Traffic Server does not currently
>> support
>>>> external log managers because it does not support listening for such
>>>> signals.
>>>> 
>>>> Proposal
>>>> =======
>>>> 
>>>> In order to support the use of tools such as logrotate, this
>> proposal
>>>> suggests adding support for Traffic Manager and Traffic Server to
>> handle a
>>>> signal that causes those processes to close and re-open their logs
>> handles.
>>>> 
>>>> Further, while SIGHUP is a pretty common signal used for such
>> purposes,
>>>> this proposes SIGUSR2 instead since we already use that for
>> traffic.out
>>>> (added via https://github.com/apache/trafficserver/pull/274/files).
>>>> 
>>>> 
>>>> Please share any thoughts or suggestions.
>>>> 
>>>> Thanks,
>>>> Brian
>>>> --
>>>> "Come to Me, all who are weary and heavy-laden, and I will
>>>> give you rest. Take My yoke upon you and learn from Me, for
>>>> I am gentle and humble in heart, and you will find rest for
>>>> your souls. For My yoke is easy and My burden is light."
>>>> 
>>>>  ~ Matthew 11:28-30
>>> 
>> 
>> 
>> 
>> 

Reply via email to