[Pki-devel] Patch to swap numeric values of debug log levels OBNOXIOUS and INFO

Ade Lee alee at redhat.com
Wed Jun 25 12:03:28 UTC 2014


ACK.

Please also check the RHCS documentation to confirm that the description
of the log levels is correct.

Ade

On Tue, 2014-06-24 at 18:00 -0700, Matthew Harmsen wrote:
> Please review the attached patch for:
>       * PKI TRAC Ticket #898 - Giant /var/log/pki-ca/debug
> 
> It is basically a copy of the patch that was applied to Bugzilla Bug
> #1055080 - Giant /var/log/pki-ca/debug 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) 
> 
> 
> _______________________________________________
> Pki-devel mailing list
> Pki-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/pki-devel





More information about the Pki-devel mailing list