The log files in X:\CA\VirtualAssurance\apache\logs
grow very large - potentially gigs in size.
This is the default configuration for Apache. Log files do not rotate or wrap-around. They have unrestricted growth.
Apache can be configured to rotate log files. This will prevent individual logs from growing to gigs in size. However, the older logs still need to be cleaned up/removed via other methods. This configuration only provides Apache the facilities to create log files in a more workable size.
Original Entry | Updated Entry |
ErrorLog "logs/error.log" | ErrorLog "|bin/rotatelogs.exe -l -f logs/errorlog.%Y-%m-%d-%H_%M_%S 10M" |
CustomLog "logs/access.log" common | CustomLog "|bin/rotatelogs.exe -l -f logs/access.log.%Y-%m-%d-%H_%M_%S 10M" common |
Original Entry | Updated Entry |
ErrorLog "X:/CA/VirtualAssurance/apache/logs/error.log" | ErrorLog "|bin/rotatelogs.exe -l -f logs/errorlog.%Y-%m-%d-%H_%M_%S 10M" |
TransferLog "X:/CA/VirtualAssurance/apache/logs/access.log" | TransferLog "|bin/rotatelogs.exe -l -f logs/access.log.%Y-%m-%d-%H_%M_%S 10M" |
CustomLog "X:/CA/VirtualAssurance/apache/logs/ssl_request.log" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" | CustomLog "|bin/rotatelogs.exe -l -f logs/ssl_request.log.%Y-%m-%d-%H_%M_%S 10M" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" |