You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/02/29 14:16:42 UTC

[Bug 59088] New: mod_reqtimeout default log level too low

https://bz.apache.org/bugzilla/show_bug.cgi?id=59088

            Bug ID: 59088
           Summary: mod_reqtimeout default log level too low
           Product: Apache httpd-2
           Version: 2.4.17
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_reqtimeout
          Assignee: bugs@httpd.apache.org
          Reporter: peter@pramberger.at

Hi,

currently mod_reqtimeout logs timeout messages only on info level:

ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, f->c, APLOGNO(01382)
              "Request %s read timeout", ccfg->type);

As triggering the timeout has a direct client impact by returning a 408 and
closing the connection, it should be logged as error in my opinion, or at least
as warning.

What do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59088] mod_reqtimeout default log level too low

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59088

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
Hi,

I close as WONTFIX.
APLOG_INFO looks correct to me because closing slow connections is the purpose
of this module.

As a workaround, you can also simply do something like:
   LogLevel error reqtimeout:info

I'll add a note in the doc to specify that connection closed by the module are
logged at the 'info' loglevel and how to easily tweak a LogLevel directive if
more details is needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org