How to Restrict Apache Error.log File Size Growth | Tips and Techniques

How to Restrict Apache Error.log File Size Growth

KB ID: 115006
Cause:
Frequent addition of "Warning" alerts in the log files leads to significant growth in the size of the Apache error.log file.
Solution:
To mitigate the issue of rapidly growing log files, follow the steps below to configure Apache to only add "critical" alerts to the error.log file:
1. Stop the BDRSuite web service from services.msc.
2. Delete the existing error.log file located under the logs folder.
3. Navigate to the "Installation location\Vembu\VembuBDR\apache\conf" directory. For example, "C:\Program Files\Vembu\VembuBDR\apache\conf."
4. Open the httpd.conf file using a text editor like Notepad.
5. Locate the "Log-level" setting and change it from 'warn' to 'crit'.
6. Save the changes and close the file.
7. Start the BDRSuite web service from services.msc.
By following these steps, the Apache error.log file will be restricted from growing larger due to "Warning" alerts and only "critical" alerts will be recorded in the log files. This optimization helps to maintain log files at a manageable size and enhances the overall performance of the BDRSuite for VMware.
    • Related Articles

    • How to Resolve Java Stack Size Error in BDRSuite on Ubuntu 16.04

      KB ID: 115049 Cause: Error occurs while starting BDRSuite in Ubuntu 16.04 due to the Oracle Java browser plugin crashing during stack-related actions on initialization. For more details about the Java Stack error, refer to Link Solution: To overcome ...
    • Resolution for MSSQL Backup Error - "BACKUP LOG Is Not Allowed While The Recovery Model Is SIMPLE" in BDRSuite

      KB ID: 84 Issue: Encountering the error message: "Msg 4208, Level 16, State 1, Server [servername], Line 1 The statement BACKUP LOG is not allowed while the recovery model is SIMPLE. Use BACKUP DATABASE or change the recovery model using ALTER ...
    • Unable to Read Image File - Error: 0

      KB ID: 115012 Cause: The error "Unable to read Image File, with error: 0" occurs during Hyper-V backups when virtual machines (VMs) contain ISO files. Solution: As of the current version, Hyper-V backup for VMs with ISO files is not supported. To ...
    • Troubleshooting - Error When Opening VMDK File

      KB ID: 105606 Summary: This knowledge base article provides guidance on resolving an error encountered while attempting to open a VMDK file, which is commonly associated with disk access from the datastore for read operations. Cause: The error ...
    • Bitmap File Not Found Error in BDRSuite

      KB ID: 104028 Summary: This knowledge base article addresses the "Bitmap File Not Found" error encountered within the BDRSuite application. The error may occur due to various reasons such as the absence of the VembuCBT driver, outdated software ...