Commit 8104f18b authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

Downgrade error log messages which accompany a 404 request status from loglevel

parent 701c0370
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ Changes with Apache 2.3.15
     PR 51714. [Stefan Fritsch, Jim Jagielski, Ruediger Pluem, Eric Covener,
     <lowprio20 gmail.com>]

  *) core, mod_actions, mod_asis: Downgrade error log messages which accompany
     a 404 request status from loglevel error to info. PR: 35768. [Stefan
     Fritsch]

  *) core: Fix hook sorting with perl modules. PR: 45076. [Torsten Foertsch
     <torsten foertsch gmx net>]

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ static int asis_handler(request_rec *r)
    }

    if (r->finfo.filetype == APR_NOFILE) {
        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
        ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                    "File does not exist: %s", r->filename);
        return HTTP_NOT_FOUND;
    }
+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ static int action_handler(request_rec *r)

    if (action && (t = apr_table_get(conf->action_types, action))) {
        if (*t++ == '0' && r->finfo.filetype == APR_NOFILE) {
            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
            ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                          "File does not exist: %s", r->filename);
            return HTTP_NOT_FOUND;
        }
+3 −3
Original line number Diff line number Diff line
@@ -4216,7 +4216,7 @@ static int default_handler(request_rec *r)

    if (r->method_number == M_GET || r->method_number == M_POST) {
        if (r->finfo.filetype == APR_NOFILE) {
            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
            ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                          "File does not exist: %s", r->filename);
            return HTTP_NOT_FOUND;
        }
@@ -4225,7 +4225,7 @@ static int default_handler(request_rec *r)
         * raw I/O on a dir.
         */
        if (r->finfo.filetype == APR_DIR) {
            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
            ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                          "Attempt to serve directory: %s", r->filename);
            return HTTP_NOT_FOUND;
        }
@@ -4234,7 +4234,7 @@ static int default_handler(request_rec *r)
            r->path_info && *r->path_info)
        {
            /* default to reject */
            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
            ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
                          "File does not exist: %s",
                          apr_pstrcat(r->pool, r->filename, r->path_info, NULL));
            return HTTP_NOT_FOUND;