...
To remove the service, run the uninstallLSService
script in the <LS_INSTALL>/app directory as an administrator.
Configuring Tomcat to Log User Information with Requests and Responses
License Server is distributed with the tools you need to configure Tomcat to log user information along with each request and response. This is necessary for some users to be in compliance with certain regulations.
To configure Tomcat to log this information from License Server, you need to modify the server.xml file located in the <LS_INSTALL>/app/tomcat/conf/ directory by changing the default access log valve entry from:
Code Block |
---|
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> |
to:
Code Block |
---|
<Valve className="com.parasoft.pst.core.tomcat.DTPAccessLogValve" prefix="localhost_access_log" suffix=".txt"
pattern="%t %s %m %U %H %u %S %A:%{local}p %a:%{remote}p %F %{X-Forwarded-For}i %{User-Agent}i %{Referer}i %I" /> |
Standard Tomcat access log parameters are supported. See https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Logging for more information.
These logs can be found in the localhost_access_access_log<DATE>.txt file located in the <LS_INSTALL>/app/tomcat/logs/
directory.