Skip to content

Configuring Access Log

Endi S. Dewata edited this page Oct 7, 2021 · 3 revisions

Overview

PKI server access log can be configured during installation (see Two-Step Installation) or after installation.

Configuration

To configure the access log, edit the AccessLogValve configuration in /var/lib/pki/pki-tomcat/conf/server.xml:

<Server>
    ...
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
           prefix="localhost_access_log" suffix=".txt"
           pattern="common" resolveHosts="false"/>

    ...
</Server>

See Also

Clone this wiki locally