Delete the Web Client localhost_acces log
search cancel

Delete the Web Client localhost_acces log

book

Article ID: 235252

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Is it possible to shut off the apache-tomcat  localhost_acces log that is written every day?   

Environment

Release : 12.1

Component : CA 7 WORKLOAD AUTOMATION UI

Resolution

In the conf dir you have a server.xml you can Comment the section:


<!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


comment meaning delete the section or put <!-- <Valve className= ...pattern="%h %l %u %t &quot;%r&quot; %s %b" /> -->

Next delete the localhost_acces log and restart Tomcat, then login to webclient, afterward make sure that file doesn't exist or is empty