yum.log force daily rotate

Frank Murphy frankly3d at gmail.com
Sun Apr 22 07:50:23 UTC 2012


On 22/04/12 08:42, T.C. Hollingsworth wrote:
> On Sun, Apr 22, 2012 at 12:34 AM, Frank Murphy<frankly3d at gmail.com>  wrote:
>> yum.log force daily rotate
>> Has to survive future upgrade to F17,
>
> Change the "yearly" in /etc/logrotate.d/yum to "daily".  (See `man
> logrotate` for more options.)  That file is %config(noreplace) in the
> RPM so it will never be changed when YUM is updated.
>
> -T.C.

Thanks TC, would never have thought of logrotate.

-- 
Regards,
Frank
"Jack of all, fubars"


More information about the users mailing list