Hi.
I have been wondering this for a while and in my searches in Google there is no direct answer on how to fix this, but my question is the following:
How do I stop error messages like this:
from filling up my error_log file located in /usr/local/apache/logs?
In my research I have found a site that shows the module responsible for creating all this junk. You can find it on this link (tigress.com/nobs/apache2-error-messages.html) but I will give you a snippet that looks like this:
Basically from my understanding there is some type of test module that is compiled into Apache (even though I can't recall ever building apache with this module enabled, or if it even exits to be able to build) but none-the-less I would like to know how to remove it.
Thanks in advance!
I have been wondering this for a while and in my searches in Google there is no direct answer on how to fix this, but my question is the following:
How do I stop error messages like this:
Code:
[Tue Oct 14 01:20:23.963630 2014] [optional_fn_export:error] [pid 10608:tid 140347598362368] AH01871: Optional function test said: GET / HTTP/1.1
[Tue Oct 14 01:20:23.984517 2014] [optional_hook_import:error] [pid 10606:tid 140347682281216] AH01866: Optional hook test said: GET / HTTP/1.1
[Tue Oct 14 01:20:23.984535 2014] [optional_fn_export:error] [pid 10606:tid 140347682281216] AH01871: Optional function test said: GET / HTTP/1.1
[Tue Oct 14 01:20:24.026878 2014] [optional_hook_import:error] [pid 10611:tid 140347566892800] AH01866: Optional hook test said: GET / HTTP/1.1
[Tue Oct 14 01:20:24.026894 2014] [optional_fn_export:error] [pid 10611:tid 140347566892800] AH01871: Optional function test said: GET / HTTP/1.1
In my research I have found a site that shows the module responsible for creating all this junk. You can find it on this link (tigress.com/nobs/apache2-error-messages.html) but I will give you a snippet that looks like this:
Code:
Optional function test said: %s +66 ./modules/test/mod_optional_fn_export.c ap_log_error
Optional hook test said: %s +62 ./modules/test/mod_optional_hook_import.c ap_log_error
Thanks in advance!
Last edited by a moderator: