pki-logging(5)
π NAME π
pki-logging β the PKI Common Logging Configuration, bestie! This is the pki-logging(5) manual page, and it's literally your guide to how the PKI fam sets up logging. Periodt. β¨
π LOCATION π
The files live here:
/usr/share/pki/etc/logging.properties/etc/pki/logging.properties
β¨ DESCRIPTION β¨
Okay so PKI clients and tools use java.util.logging β JUL for short β as the logging framework. The package summary is right here: https://docs.oracle.com/javase/8/docs/api/java/util/logging/package-summary.html.
The default logging configuration is located at /usr/share/pki/etc/logging.properties.
By default, only log messages with level WARNING or higher will be logged on the console. No cap. π
java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format = %4$s: %5$s%6$s%n
For more information, see these documents β go off, honestly:
java.util.logging.ConsoleHandlerβhttps://docs.oracle.com/javase/8/docs/api/java/util/logging/ConsoleHandler.htmljava.util.logging.Levelβhttps://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.htmljava.util.logging.SimpleFormatterβhttps://docs.oracle.com/javase/8/docs/api/java/util/logging/SimpleFormatter.htmljava.util.Formatterβhttps://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html
π CUSTOMIZATION π
To customize the logging configuration, copy the default logging configuration into a new location:
$ cp /usr/share/pki/etc/logging.properties /etc/pki/logging.properties
Then edit the file as needed. For example, to troubleshoot issues with the PKI library, add these lines:
netscape.level = ALL
com.netscape.level = ALL
org.dogtagpki.level = ALL
To troubleshoot issues with RESTEasy, add this line:
org.jboss.resteasy.level = ALL
Then specify the location of the custom logging configuration in the following parameter in /etc/pki/pki.conf:
PKI_LOGGING_CONFIG=/etc/pki/logging.properties
Then restart the application. Slay. π₯
π SEE ALSO π
π«Ά AUTHORS π«Ά
Shoutout to the authors: Dogtag PKI Team lt;devel@lists.dogtagpki.orggt>. π
Β©οΈ COPYRIGHT Β©οΈ
Copyright (c) 2016 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
This page is from the PKI collection and is dated November 3, 2016 β mwah, bestie ππ¦
π¦ where this page comes from
- centos-stream 9: idm-pki-base 11.7.1-1.el9 Β· GPL-2.0-only AND LGPL-2.0-only
- centos-stream 9: pki-base 11.2.0-0.2.beta1.el9 Β· GPLv2 and LGPLv2
- ubuntu jammy: pki-base 11.0.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms