Dear Lukasz,
I agree that using the linux standard logrotator tool is the best way to go.
Does log rotator require xrootd to start and stop so that the pointers to the files
are disconnected during the rotation.
Doug
On May 12, 2011, at 2:48 AM, Lukasz Janyst wrote:
> Hi Tanya,
>
> we will cut the second rc after we do some testing with this one.
> Your request raises a more general question of how we should handle
> the log rotation. Specifying it as a parameter for xrootd in the
> sysconfig file has an advantage of keeping all the settings together
> but I would argue that we should use the standard logrotator (man 8
> logrotate) of Linux as it is far more flexible and is widely
> considered as "the" tool for this sort of job which is what most
> admins would probably expect.
>
> Let me know what you think.
>
> Cheers,
> Lukasz
>
> 2011/5/12 Tanya Levshina <[log in to unmask]>:
>> Hi Lukasz,
>>
>> Sorry, but I just have noticed that [-k NUM] option is still missing from /etc/sysconfig/xrootd configuration. This option controls the number of days the log files will be kept.
>>
>> Could you please add this and cut a new rc?
>>
>> Thanks a lot,
>> Tanya
>> ----- Original Message -----
>> From: Lukasz Janyst <[log in to unmask]>
>> Date: Wednesday, May 11, 2011 11:58 am
>> Subject: XRootD tag and RPMs
>> To: xrootd-dev <[log in to unmask]>, Doug Benjamin <[log in to unmask]>, Tanya Levshina <[log in to unmask]>, Douglas Strain <[log in to unmask]>
>>
>>> Dear all,
>>>
>>> I have made a rc1 tag and built the RPMs which you can access here:
>>> http://xrootd.cern.ch/sw/releases/3.0.4-rc1/
>>>
>>> Cheers,
>>> Lukasz
>>
|