Replying to my own post for others edification.
I changed the logrotate to:
/var/log/pki-ca/debug /var/log/pki-kra/debug /var/log/pki-ocsp/debug
/var/log/pki-ra/debug {
copytruncate
weekly
rotate 5
notifempty
missingok
}
And now my logs are rotating fine.
Regards,
Jerry McCarthy
CPMG
-----Original Message-----
From: Jerry McCarthy [mailto:jerry@cpmg.com]
Sent: Sunday, October 03, 2010 12:12 PM
To: 'pki-users(a)redhat.com'
Subject: Rotating debug logs.
Some of my debug logs (/var/log/pki-*/debug) are getting large. I tried
adding:
/var/log/pki-ca/debug /var/log/pki-kra/debug /var/log/pki-ocsp/debug
/var/log/pki-ra/debug {
weekly
rotate 5
notifempty
missingok
}
To /etc/logrotate.d But that didn't appear to do anything. Can anybody give
me some suggestions as to how to setup the debug logs for auto rotation?
Regards,
Jerry McCarthy
CPMG
Show replies by date