Everyone Additional comments on rotating logs for the userguide for systems that don't have RedHat's logrotate installed.
Alex --- userguide.xml.orig 2003-02-17 17:19:11.420001000 +0000 +++ userguide.xml 2003-02-17 17:20:19.650037000 +0000 @@ -7490,6 +7490,24 @@ endscript } </userinput></screen> + + <para> + For traditional Unix based systems such as Solaris and HPUnix we recommend using + rotatelog, a free Perl based log rotator from InterHack (http://www.interhack.net + /projects/rotatelog/). A sample logrotate script (/usr/local/etc/rotatelog.conf) + is shown below. + </para> + + <screen><userinput> + FILES: + /var/log/kannel/access.log 2M kannel:kannel 775 gz 100 + /var/log/kannel/enpocket.log 2M kannel:kannel 775 gz 100 + /var/log/kannel/smsbox.log 2M kannel:kannel 775 gz 100 + ACTIONS: + kill - HUP | ps -ef | grep -i production | awk '{print $2}' : /var/log/kannel/access.log, /var/log/kannel/enpocket.log, /var/log/kannel/smsbox.log + NOTIFY: + [EMAIL PROTECTED] + </userinput></screen> </sect1> </appendix>