Feature requests » Clean logs

added on Aug 20, 2009 by Jamo
Hi!

Can you add a feature that can clean the logs and backups? All logs/backups, or only older then a month or something?

With more then 60 sites on my server the number of mb's for linkex logs and backups is becoming very big (5mb per site)
over the last years.

Thanks!
added on Aug 21, 2009 by jim
Google "cron log trim script"

How can you run 60 sites and not know how to trim / archive logs?

added on Aug 22, 2009 by jim
tail -1000 logfile > file; mv file logfile

Put that in as a cron line however often you want to do it, this example trims to 1000
lines, change it as needed.
added on Aug 24, 2009 by Jamo
Hi Jim,

I don't have to work with logs.
Only my linkex installs have logs (the server only has one fot the 60 sites.

Also my host doesn't alow me to setup crons, they can do a few but not 60.

So it would be nice if this feature is in linkex so i can do it manually.

Jamo
added on Aug 24, 2009 by Jamo
In addition i can't do it when opening the log in a text editor (permission denied) i think because the file is owned by
a different user.
added on Aug 27, 2009 by jim
Just delete the log file once a year then, back them up to your home system if you want to keep them for some reason.
I'm not the author of linkex but a feature like that would probably be a low priority, there are much better things to
spend time on.
added on Aug 30, 2009 by Ajad
Aug21,2009by jim

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.