Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-16, 14:17:54

Author Topic: Scavenge filxlogdir.php and logrotate  (Read 2543 times)

0 Members and 1 Guest are viewing this topic.

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Scavenge filxlogdir.php and logrotate
« 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/...'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Scavenge filxlogdir.php and logrotate
« Reply #1 on: 2017-03-01, 09:05:15 »
Thanks. Will be fixed.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.049 seconds with 18 queries.

web stats analysis