|Summary:||Changes to LogLevel for 404 errors in 2.4 not reflected in Documentation|
|Component:||Documentation||Assignee:||HTTP Server Documentation List <docs>|
Description ysdev 2016-10-12 22:28:06 UTC
Apparently a "Bug" was fixed in 2.4 to omit 404 "File not found" from LogLevel Error and downgrade them to LogLevel Info . Discussion leading up to the change:  This change broke the documentation. The ErrorLog directive  clearly contains an outdated example: A typical log message follows: [Fri Sep 09 10:42:29.902022 2011] [core:error] [pid 35708:tid 4328636416] [client 220.127.116.11] File does not exist: /usr/local/apache2/htdocs/favicon.ico The LogLevel shown in the example is now wrong, and with the default LogLevel of "warn", the message would never make it to the error log in the first place. The LogLevel directive  does not mention which LogLevel is required in order to show "File not found" errors. Discussion spawned by the lack of proper documentation:  The documentation for both the ErrorLog and LogLevel directives should reflect the changed behavior, and should include an example on how to restore or approximate the previous behavior. I'm currently experimenting with: LogLevel warn core:info So far it seems to work as intended, i.e. it works like 2.2 and prior versions did.  https://svn.apache.org/viewvc?view=revision&revision=1180328  https://bz.apache.org/bugzilla/show_bug.cgi?id=35768  http://httpd.apache.org/docs/2.4/logs.html  http://httpd.apache.org/docs/2.4/mod/core.html#loglevel  http://www.gossamer-threads.com/lists/apache/dev/422757
Comment 1 Philippe Cloutier 2021-07-16 17:00:59 UTC
Thank you very much for this report Visibly the ErrorLog documentation no longer contains that outdated example. The ErrorLogFormat documentation seems misleading though.