Views:

To stop the Apache web server from collecting access and error logs:

  1. Stop the Apache service using the Microsoft Windows Services console.
  2. Go to ..\PCCSRV\Apache2\conf\ and back up httpd.conf.
  3. Edit  httpd.conf using Notepad. Do the following:
    1. Change "LogLevel warn" and "LogLevel info" entries to "LogLevel emerg".
    2. Change "CustomLog logs/access.log common" and  "CustomLog logs/access.log combined" entries to "#CustomLog logs/access.log combined".
  4. Save the changes.
  5. Remove previous access.log and error.log under \Apache2\logs.
  6. Restart the Apache service.
  7. Monitor the log size. It should not be more than 1KB - 3KB.
Comments (0)