Skip to content

PKI 10.3 Configuring Client Logging

Endi S. Dewata edited this page Oct 27, 2021 · 1 revision

Overview

This page describes the client logging configuration in PKI 10.3 or later.

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

Configuring Client Logging

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:

LOGGING_CONFIG=/etc/pki/logging.properties

See Also

Clone this wiki locally