#8971 /var/log/pki/pki-tomcat/ca/debug.*.log files are not cleaned up
Closed: duplicate by frenaud. Opened by orion.

Issue

I have lots of debug.DATE.log files in /var/log/pki/pki-tomcat. These should get cleaned up automatically.

Version/Release/Distribution

ipa-server-4.9.2-4.module_el8.4.0+846+96522ed7.x86_64
ipa-client-4.9.2-4.module_el8.4.0+846+96522ed7.x86_64
389-ds-base-1.4.3.16-19.module_el8.4.0+884+e9b25896.x86_64
pki-ca-10.10.5-3.module_el8.4.0+816+beb6e9a3.noarch
krb5-server-1.18.2-8.el8.x86_64

Hi,
the log files in /var/log/pki/pki-tomcat are managed by pki and IPA is not changing the default configuration. Could you open an issue against pki at https://github.com/dogtagpki/pki/issues ?

Filed https://github.com/dogtagpki/pki/issues/3731

@orion thanks for opening the PKI issue.
Closing this one

Metadata Update from @frenaud:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

I use a script to clean these log files up automatically. IMO freeipa should ship a script like this to work around dogtag's lack of a way to rotate these files automatically.

Here's the script: https://github.com/dogtagpki/pki/issues/3731#issuecomment-1519045869

I'm happy to contribute this to freeipa, I'll work on a PR if you think this is a good idea...

Metadata