How to stop generation of the localhost_access_log files under ServiceDesk\bopcfg\www\CATALINA_BASE? Will there be any impact by deleting these files?

book

Article ID: 36838

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Question:

How to stop generation of the localhost_access_log files under ServiceDesk\bopcfg\www\CATALINA_BASE? Will there be any impact by deleting these files?

 

Answer:

Yes, you can delete the localhost_access_log files.

In order that you want to stop generation of these files perform the below steps: 

 

1) Open the server.xml file located under Service Desk Manager\bopcfg\www\CATALINA_BASE\conf folder. 

2) Find the below line 

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." suffix=".txt"/> 

3) Add <!-- at the beginning and --> at the end of this line as shown below: 

<!--<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false" /> --> 

4) Restart the ServiceDesk Services. 

This will stop generating the localhost_access_log.txt files.

 

Environment

Release: SDMU0M99000-14.1-Service Desk Manager-Full License
Component: