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

--- 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