| Summary: | PKI-CA doesn't provide a way to limit debug file at /var/log/pki-ca/debug | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Pablo Iranzo Gómez <pablo.iranzo> |
| Component: | pki-core | Assignee: | Matthew Harmsen <mharmsen> |
| Status: | CLOSED UPSTREAM | QA Contact: | Asha Akkiangady <aakkiang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.5 | CC: | eminguez, mharmsen |
| Target Milestone: | rc | ||
| Target Release: | 6.6 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-03 19:45:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Pablo Iranzo Gómez
2013-11-27 09:33:28 UTC
Is putting a:
/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
}
A valid/supported solution?
Can we have it included in the product if it is ?
We are not planning on fixing this in RHEL 6, but rather in a future version of Dogtag. As a result of this, I have filed 'https://fedorahosted.org/pki/ticket/814 PKI TRAC Ticket #814 - Provide log rotation for PKI debug logs' which references this bug and states: It appears that the PKI debug log facility utilizes a different infrastructure than the other PKI logging facilities which currently provide log rotation. The reason that this logging infrastructure may have differed may have been due to a previous request to insure that a single debug log file could always be run against a 'tail -f' without concern of log roll over. Regardless, however, log rotation should be made an optional feature of the PKI debug log. Matthew, can we use in the meantime a logrotate script like the one proposed on comment #1? Thanks, Pablo (In reply to Pablo Iranzo Gómez from comment #3) > Matthew, can we use in the meantime a logrotate script like the one proposed > on comment #1? > > Thanks, > Pablo Pablo, Yes, we discussed this briefly in our CS meeting today, and we believe that the logrotate script should work on the debug file since it is just a normal log file, so feel free to try it out. However, please be aware that we have not done any testing using the logrotate script, and as we are planning fixing the debug logging upstream, it is not on any of our roadmaps to provide the use of the logrotate script as a Q/E'd feature of this product. |