I run the log rotation script daily and leave the retention setting at 90
days.
This means that when logrotate runs it will delete anything older than 90
days (at least that's my understanding of it, I didn't write this part).
P.S. For future reference, you're likely to get a much faster response by
asking the list (cc'd here) then asking me directly :-)
On 5/3/07, Senthil <[EMAIL PROTECTED]> wrote:
Hi clayton,
What does LOGROTATERETENTION= mean in config.php of pgp-syslog-ng
following is my crontab entry, where i logrotate logs every 15 days
# Rotate logs table every 15 days
00 1 1 * * /usr/bin/php /var/www/html/syslog/scripts/logrotate.php >>
/var/log/php-syslog.logrotate.log
00 1 15 * * /usr/bin/php /var/www/html/syslog/scripts/logrotate.php >>
/var/log/php-syslog.logrotate.log
I'm intending to show logs of two month only including current month via
php-syslog-ng.
Regards
senthil
--
______________________________________________________________
C I S C O S Y S T E M S
Clayton Dukes
Network Management Consulting Engineer
Advanced Services - Central Engineering
Phone :+1 919.392.6122
Mobile :+1 813-545-7373
Fax :+1 919-869-1580
7025-3 Kitt Creek Road RTP, NC 27709-4987
______________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support