This article describes how to enable the access log valve in the Tomcat instance associated with a Definition Center and see traffic to and from the Definition Center with addresses of machines requesting information


Tomcat provides an access log valve that when enabled will log all traffic to and from the server detailing the addresses of the machines making the request or receiving the data. This information is useful to check and make sure that only authorized users are attempting to access a Definition Center

To make the change follow these steps:

1. Open the x:\iRise\DefCenter\Tomcat\conf\server.xml  file in a text editor
2. Search for the following block of code in the file:

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

3. Uncomment the line by removing the opeing <!-- and closing --> tags.
4. Stop and start the Definition Center service.

Note the new log created in x:\iRise\DefCenter\Tomcat\logs  directory named localhost_access_log.yyyy-mm-dd  with the new content.

Did this answer your question?