[Pki-devel] Patch to swap numeric values of debug log levels OBNOXIOUS and INFO
Matthew Harmsen
mharmsen at redhat.com
Wed Jun 25 01:00:06 UTC 2014
Please review the attached patch for:
* PKI TRAC Ticket #898 - Giant /var/log/pki-ca/debug
<https://fedorahosted.org/pki/ticket/898>
It is basically a copy of the patch that was applied to Bugzilla Bug
#1055080 - Giant /var/log/pki-ca/debug
<https://bugzilla.redhat.com/show_bug.cgi?id=1055080> except it
does*not* reset the CS.cfg 'debug.level=0' (log everything) to
'debug.level=10' (log information only) since Fedora platform's primary
usage is for development, and thus debug logs are used far more prevalently.
To test this patch:
* Build a default CA using the patched source
* Install the default CA using 'pkispawn'
* Examine the '/var/log/pki/pki-tomcat/ca/debug' file to reveal that
it contains much content (debug.level=0)
* Shutdown the CA
* Edit '/etc/pki/pki-tomcat/ca/CS.cfg' and change 'debug.level=0' (log
everything) to 'debug.level=10' (log information only)
* Empty the CA 'debug' log by typing 'cat /dev/null >
/var/log/pki/pki-tomcat/ca/debug'
* Restart the CA
* Examine the '/var/log/pki/pki-tomcat/ca/debug' file to reveal that
it contains minimal content (debug.level=10)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140624/d6252cdd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20140624-Swap-numeric-values-of-OBNOXIOUS-and-INFO-debug-log.patch
Type: text/x-patch
Size: 2248 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140624/d6252cdd/attachment.bin>
More information about the Pki-devel
mailing list