Skip to main content

Configure an Access Log for PoolParty's Tomcat Server

Abstract

Configure an Access Log for PoolParty's Tomcat Server

The PoolParty server comes per default with no access logging configured.

To configure access logging within Tomcat you need to follow the steps below.

Note

This guide assumes that you have a PoolParty default installation following the respective Installation Guide.

STEP 1: Stop the PoolParty Server

STEP 2: Configure Access Loging for the Tomcat Server

Add the following configuration within the Engine definition in the server.xml file found in these paths respectively:

  • Linux: /opt/poolparty/tomcat/conf/

  • Windows: C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf

Valve

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

STEP 3: Start the PoolParty Server

You will find the access.log file in the PoolParty log folder. For more information, see: Monitoring and Logging.