Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Web Help Desk (WHD) > Enable access logging

Enable access logging

Table of contents

Updated June 14, 2017

Overview

This article documents how to enable logging in Apache Tomcat and create a localhost_access_log.txt file. This feature is disabled by default. 

Web Help Desk may overwrite the tomcat_server_template.xml file when you update the software. Apply the steps in this article after each update.

Environment

All WHD versions

Steps

 

  1. Log in to the Web Help Desk server as an administrator.
  2. Stop Web Help Desk
  3. Navigate to <WebHelpDesk\conf.
  4. Open the tomcat_server_template.xml file in a text editor (such as Notepad).
  5. Locate and uncomment the following code:
    className="org.apache.catalina.valves.AccessLogValve"
       
    directory="../../log"
       prefix="localhost_access_log"
       
    pattern="common"
      resolveHosts="false"

    />
    The directory should be /log.
    For additional detail, set the pattern parameter to combined. This value generates log that charting utilities (such as awstats) can understand.
  6. Start Web Help Desk.
  7. Navigate to <WebHelpDesk>\log,
    This directory contains the localhost_access_log.txt file. Open the file in a text editor to view the logging.  

 

Last modified
13:44, 23 Aug 2017

Tags

Classifications

Public