Disabling Local Host Access Logs in Tomcat
Version: v1.0
Date: 14-Feb-20
By default, one of the enabled forms of logging in Apache Tomcat is the Local Host Access Log. This log tracks every connection made to the RMS server. That means both masters and people, and every master connects every 15 seconds.
This can add up to a lot of logs that can quickly overwhelm the hard drive space of your server. The logs are not needed for RMS to work; you can keep them if you would like for security purposes, but for the vast majority of RMS users this can be disabled in order to not fill your hard drive. Here are the instructions for disabling local host access logging:
- Stop Tomcat
- Browse to C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf
- Edit the server.xml file
- Locate the following section:
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" / >
- Comment out this section by adding <!-- to the beginning of the section and --> to the end of the section
- Save and close server.xml
- Start Tomcat
Any previously collected log files may be deleted in order to save some extra hard drives space.
About HARMAN Professional Solutions
HARMAN Professional Solutions is the world's largest professional audio, video, lighting, and control products and systems company. Our brands comprise AKG Acoustics®, AMX®, BSS Audio®, Crown International®, dbx Professional®, DigiTech®, JBL Professional®, Lexicon Pro®, Martin®, Soundcraft® and Studer®. These best-in-class products are designed, manufactured and delivered to a variety of customers in markets including tour, cinema and retail as well as corporate, government, education, large venue and hospitality. For scalable, high-impact communication and entertainment systems, HARMAN Professional Solutions is your single point of contact. www.harmanpro.com
The following brands are part of HARMAN Professional Solutions: AKG, AMX, Crown, dbx, DigiTech, JBL, Lexicon, Martin, Soundcraft, Studer.