Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Database Performance Analyzer (DPA) > Log DPA user activity

Log DPA user activity

Table of contents
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 9 Votes: 0 Revisions: 13

Overview

DPA does not have internal auditing of user logins. If you are interested in tracking that activity (for example, to see the deployment success of DPA or for other reasons), complete the following steps to turn on auditing in the backend application server.

Environment

This article applies to DPA versions 9.0 and later, and Ignite versions 8.0 and later.

Steps

  1. Navigate to the directory DPA_home/iwc/tomcat/conf where DPA_home is where DPA is installed.
  2. Open the server.xml file in a text editor.
  3. Near the end, locate a line similar to:

    <host name="localhost" appbase="webapps"/>
     
  4. Replace this with the following:

    <host name="localhost" appbase="webapps">
      <valve classname="org.apache.catalina.valves.AccessLogValve"
      directory="logs" prefix="dpa_access_log." suffix=".log"
      pattern="%t %h %{userSession}s %S %r %q"/></host>

     

DPA user logins will now be logged to the dpa_access_log.log file in the DPA_home/iwc/tomcat/logs directory.

Last modified
19:15, 22 Jun 2016

Tags

Classifications

Public