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-29, 13:53:34

Author Topic: log files size increase  (Read 2098 times)

0 Members and 1 Guest are viewing this topic.

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
log files size increase
« on: 2015-05-13, 16:03:28 »
if i see my log files folder its creating more files with more sizes how can i delete and add auto delete it

« Last Edit: 2015-05-13, 16:09:50 by cmdman »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: log files size increase
« Reply #1 on: 2015-05-13, 16:05:32 »
Delete manually or use cronjob to delete periodically (let say per-week).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: log files size increase
« Reply #2 on: 2015-05-13, 16:10:36 »
all files inside logs folder including access.log it wont create any problem

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: log files size increase
« Reply #3 on: 2015-05-13, 16:26:34 »
Try 'rm -f /var/log/*/*.gz' and then if it's work (all .gz deleted) you can add this command in cronjob.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.028 seconds with 19 queries.

web stats analysis