To enable the EventTracker filter, uncomment
the filter definition and filter mapping in the web.xml file,
which is located in Tpae root\applications\maximo\
maximouiweb\webmodule\WEB-INF\ directory.
About this task
If your web.xml file does not contain
the commented code, you can enable the EventTracker filter
by adding the code, without the comments. Add the filter definition
between the last filter definition and the first filter mapping in
your web.xml file. Then, add the filter mapping
so that it is the last entry in the filter mappings.
Procedure
- Open the web.xml file from the Tpae
root\applications\maximo\maximouiweb\ webmodule\WEB-INF\ directory.
- Remove the comment from the following code for the filter:
<-- Uncomment these lines to enable the EventTracking filter
<filter>
<filter-name>EventTrackingFilter</filter-name>
<filter-class>psdi.webclient.system.filter.EventTrackingFilter</filter-class>
</filter>
-->
- Remove the comment from the following code for the filter
mapping:
<--! Uncomment these lines to enable the EventTracking filter
<filter-mapping>
<filter-name>EventTrackingFilter</filter-name>
<url-pattern>/ui/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>>EventTrackingFilter</filter-name>
<url-pattern>/webclient/login/logout.jsp</url-pattern>
</filter-mapping>
-->
- Save and rebuild the Tivoli®'s process automation engineenterprise
archive (EAR) file.
- Redeploy the EAR file.
What to do next
In the Logging application, a new row in the Root Loggers
table lists the EventTracker filter as eventtracking with
the key value log4j.logger.maximo.webclient.eventtracking.
By default, the logging level is set to INFO, which logs all events.
If the logging level is set to ERROR, change the logging level to
INFO and select the Apply Settings action.