Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Preventing the Apache Web Server from collecting Error and Access logs in OfficeScan (OSCE)

    • Updated:
    • 21 Dec 2015
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • Platform:
    • Windows 2003 Enterprise Server
    • Windows 2003 Small Business Server
    • Windows 2003 Standard
    • Windows 2008 Enterprise Server
    • Windows 2008 Enterprise Server Edition 64-bit
    • Windows 2008 Small Business Server
    • Windows 2008 Standard
    • Windows 2008 Standard Server Edition 64-bit
Summary

Apache Web Server may fill up the hard drive with a lot of Access and Error log files. This article contains steps in preventing the Apache web server from collecting and generating these logs.

Details
Public

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.
Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1055823
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.