Configuring Client Logging - dogtagpki/pki GitHub Wiki
This page describes the client logging configuration in PKI 10.6 or later.
For older versions see:
PKI uses java.util.logging (JUL) framework for client logging. The default logging configuration is located at /usr/share/pki/etc/logging.properties.
By default the client will only log WARNING
messages or higher (see Level) on the console:
.level = WARNING
To change the client logging configuration, copy the default logging configuration file into /etc/pki/logging.properties
:
$ cp /usr/share/pki/etc/logging.properties /etc/pki/logging.properties
Edit the logging.properties
as needed. For example, to log INFO
messages or higher:
org.mozilla.jss.level = INFO org.dogtagpki.level = INFO com.netscape.level = INFO netscape.level = INFO
Then specify the location of the logging configuration in /etc/pki/pki.conf
:
PKI_LOGGING_CONFIG=/etc/pki/logging.properties