Submit a ticketCall us

Bridging the ITSM Divide
Integrated help desk and remote support software for faster resolution

Join us on Wednesday, November 29, 2017 at 11 a.m. CT, as we discuss the benefits of effectively integrating your help desk software with remote support solutions to help increase the efficiency of IT administration, improve communication, and decrease mean time to resolution (MTTR) for IT issues of all sizes. This directly impacts end-user satisfaction and your business’ bottom line. Register Now.

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

Tags

Classifications

Public