To stop the Apache web server from collecting access and error logs:
- Stop the Apache service using the Microsoft Windows Services console.
- Go to ..\PCCSRV\Apache2\conf\ and back up httpd.conf.
- Edit httpd.conf using Notepad. Do the following:
- Change "LogLevel warn" and "LogLevel info" entries to "LogLevel emerg".
- Change "CustomLog logs/access.log common" and "CustomLog logs/access.log combined" entries to "#CustomLog logs/access.log combined".
- Save the changes.
- Remove previous access.log and error.log under \Apache2\logs.
- Restart the Apache service.
- Monitor the log size. It should not be more than 1KB - 3KB.