X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=sgml%2FspiderFAQ.sgml;h=7a3d9e70ecdb6957d45ad7cce6f7b1d598cfeee5;hb=5405fc43af4410805160aed50df04bc5fc9df869;hp=c60216c7f53e517e4e3b6aace143431f66c35c61;hpb=9e52888ccf4cfd4ba68b5a1c0d66b79550dff583;p=spider.git diff --git a/sgml/spiderFAQ.sgml b/sgml/spiderFAQ.sgml index c60216c7..7a3d9e70 100644 --- a/sgml/spiderFAQ.sgml +++ b/sgml/spiderFAQ.sgml @@ -114,12 +114,14 @@ take effect. How can I automatically limit the amount of debug logfiles that are stored?

-Use the tmpwatch command. Add a line in /etc/cron.daily like this ... +Use the tmpwatch command. Create a file in /etc/cron.daily/ containing the line ... /usr/sbin/tmpwatch -f 240 /spider/data/debug +Remember to make it executable! + This will limit your debug data down to the last 10 days