Replacing PKI logging framework
by Endi Sukma Dewata
Hi,
This is a preliminary work for PKI 10.4. In ticket #195 we are planning
to replace the current logging framework. This is needed to simplify
writing unit tests and also provide debug log rotation.
Here is the initial investigation to determine which framework to use:
http://pki.fedoraproject.org/wiki/Logging_Frameworks
I've also posted patch #834 that shows how it will be implemented.
Please let me know if you have any comment/question. Thanks.
--
Endi S. Dewata
8 years, 3 months
[PATCH] 834 Updated PKI server logging service.
by Endi Sukma Dewata
The PKI server logging service has been modified to utilize Java
Logging API. This will allow PKI code to be refactored into smaller
modules which can run outside the server (e.g. for unit testing).
The common logging.properties file has been updated to define the
debug log handlers for each subsystem. New logging.properties files
have been added for each subsystem to specify the PKI packages to
be logged.
The deployment tool has been modified to create a link to the
default logging.properties instead of creating a copy. The unused
log4j.properties has been removed.
The pki.policy has been modified to allow Tomcat to read the
default logging.properties files in /usr/share/pki and to
generate debug logs in subfolders under <instance>/logs.
https://fedorahosted.org/pki/ticket/195
--
Endi S. Dewata
8 years, 3 months