You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2016/10/12 22:28:06 UTC
[Bug 60247] New: Changes to LogLevel for 404 errors in 2.4 not
reflected in Documentation
https://bz.apache.org/bugzilla/show_bug.cgi?id=60247
Bug ID: 60247
Summary: Changes to LogLevel for 404 errors in 2.4 not
reflected in Documentation
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: docs@httpd.apache.org
Reporter: ysdev@tm-company.de
Apparently a "Bug" was fixed in 2.4 to omit 404 "File not found" from LogLevel
Error and downgrade them to LogLevel Info [1].
Discussion leading up to the change: [2]
This change broke the documentation.
The ErrorLog directive [3] 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 72.15.99.187] 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 [4] does not mention which LogLevel is required in order
to show "File not found" errors.
Discussion spawned by the lack of proper documentation: [5]
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.
[1] https://svn.apache.org/viewvc?view=revision&revision=1180328
[2] https://bz.apache.org/bugzilla/show_bug.cgi?id=35768
[3] http://httpd.apache.org/docs/2.4/logs.html
[4] http://httpd.apache.org/docs/2.4/mod/core.html#loglevel
[5] http://www.gossamer-threads.com/lists/apache/dev/422757
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 60247] Changes to LogLevel for 404 errors in 2.4 not reflected in Documentation
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60247
Philippe Cloutier <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #3 from Philippe Cloutier <ch...@gmail.com> ---
Rich's link or target is [currently] broken, but the change can be seen on
https://lists.apache.org/thread/fd2x0yl44x49mysqnhp899snxk0s19ns
Thank you Rich, I confirm this does complete the fix.
That being said, while the reporter's suggestion may have made sense in 2016, I
am afraid the story is different in 2026, given that httpd 2.2 was superseded
14 years ago. That note should probably be relegated to httpd 2.4’s release
notes.
However, beyond documenting a *change*, I feel the note is warning
administrators about a behavior which is surprising. I do not master httpd’s
documentation and this might already be treated somewhere, but although I
understand the decision to stop logging 404s at error level on a public
website, there must be lots of private website administrators who struggle to
understand why many errors are not logged in the error log. Given that the
section is titled just "Error Log", I do find it important to make it explicit
that the "error log" filters (by default) errors presumed to be client-side.
This comment and any other from myself on this ticket is offered under the
terms of CC0 1.0.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 60247] Changes to LogLevel for 404 errors in 2.4 not reflected
in Documentation
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60247
--- Comment #1 from Filipus Klutiero <ch...@gmail.com> ---
Thank you very much for this report
Visibly the ErrorLog documentation no longer contains that outdated example.
The ErrorLogFormat documentation seems misleading though.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 60247] Changes to LogLevel for 404 errors in 2.4 not reflected in Documentation
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60247
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Rich Bowen <rb...@apache.org> ---
fixed in r1932317. Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org