I am getting this error message in apache erro_log
[authz_core:debug] [pid 21412] mod_authz_core.c(802): [client 66.249.74.22:39835] AH01626: authorization result of <RequireAny>: granted
How can I fix this error?
this is no error it is a debug level message. It just says that the authorisation has ben granted for a request.
Your LogLevel variable in your apache or virtualhost configuration is set to debug. To fix this find in your config files
LogLevel debug
and change it to
LogLevel notice
If you want you can also use warn or error instead of notice. All possible levels are debug, info, notice, warn, error, crit, alert, emerg
As you can see debug is the lowest setting and logs the most actions. For production environement you don't want that. You need it only if you are debugging a particular apache module or your apache configuration.
This answer is similar to Gregor's answer, which states that you need to reduce the verbosity of your logs.
But as of Apache 2.3.6, you have the ability to set a different LogLevel
for each Apache module. So, in this case, you can keep the default LogLevel
to debug
, and just reduce the LogLevel
of the authz_core
module to info
or anything else less verbose. To achieve that, in your configuration, change
LogLevel debug
to
LogLevel debug authz_core:info
This is the list of available log levels in order of verbosity: http://httpd.apache.org/docs/current/mod/core.html#loglevel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With