Current time: 11-18-2024, 12:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
Over 40GB log files how to reduce logging?
Author Message
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Over 40GB log files how to reduce logging?
Take a look at the logrotation scripts you find below /etc/logrotation/ .. you may need to change the path's there. Alternatively you can create a simple cronjob ala :

find /var/log/apache2 -ctime +60 |xargs rm -f

um alle Dateien älter als 60 Tage zu löschen.
Das ist natürlich die Holzhammermethode. logrotation is besser Wink
11-24-2011 08:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Over 40GB log files how to reduce logging? - ephigenie - 11-24-2011 08:33 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)