[Pki-users] Rotating debug logs.
Jerry McCarthy
jerry at cpmg.com
Sun Oct 17 18:26:07 UTC 2010
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 at cpmg.com]
Sent: Sunday, October 03, 2010 12:12 PM
To: 'pki-users at 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
More information about the Pki-users
mailing list