
Managing Web Server Log Files
Remote Communication Gate S uses a web server and Apache Tomcat. The web server is either Apache
or Microsoft IIS.
Since both kinds of web servers and Tomcat create access logs (log files), the size of the log file may be
very
large depending on how long it has existed or how frequently it is updated. Therefore, it is necessary
to regularly delete or organize log files to keep free space available on the server hard drive.
A sample batch file for deleting Apache and Tomcat logs is included with the Remote Communication Gate
S installation.
• It is recommended to back up log files to a network drive or CD-ROM drive before deleting, since
they may be required when investigating the cause of an error.
• For details about the batch file, see p.381 "Apache Tomcat log files".
Location of Web Server Log Files
The following sections describe where the log files for each service (Apache, IIS, and Apache Tomcat) are
stored.
Web server log file: When using Apache
Apache is installed by selecting [Apache] on the web server selection screen when installing Remote
Communication Gate S.
Apache log files are created in the following directory:
C:\Program Files\Common Files\RDHShared2\Apache\logs
• Log files are created including Year/Month/Day as follows. Make sure to only delete files with this
format.
• "https" and "http" log file name: accessYYYY-MM-DD.log
• Operating/Error log file name: errorYYYY-MM-DD.log, error_logYYYY-MM-DD.log
Web server log file: When using IIS
The location where IIS log files are saved is specified in the IIS settings. For details, see IIS settings.
Log files are created in the following directory by default:
11. Appendix
380
Kommentare zu diesen Handbüchern