MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: tochits on 2017-03-01, 07:21:41

Title: Scavenge filxlogdir.php and logrotate
Post by: tochits on 2017-03-01, 07:21:41
I think it is redundant that there are 2 facilities to handle the rotation of logs under (KLOXO_PATH/log). Maybe we should just stick to one?

There is 'KLOXO_PATH/bin/fixlogdir.php' called by 'scavenge.php'. And there is a logrotate file for kloxo (/etc/logrotate.d/kloxo) that more or less does the same thing. This ends up having fragmented logs on separate directories after rotation.

Related issue: there is a typographical error in /etc/logrotate.d/kloxo, 'sh /scripr/...' should be 'sh/script/...'
Title: Re: Scavenge filxlogdir.php and logrotate
Post by: MRatWork on 2017-03-01, 09:05:15
Thanks. Will be fixed.