diff options
author | Stefan Fritsch <sf@apache.org> | 2011-10-08 09:36:56 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-10-08 09:36:56 +0200 |
commit | a216c436c6f9c21a15f09815e61584574223e6a4 (patch) | |
tree | 673184d8351f7e3e11131e755be0e154769c8b8b /server | |
parent | Sort hooks twice, once before pre_config, once after ap_process_config_tree. (diff) | |
download | apache2-a216c436c6f9c21a15f09815e61584574223e6a4.tar.xz apache2-a216c436c6f9c21a15f09815e61584574223e6a4.zip |
Downgrade error log messages which accompany a 404 request status from loglevel
error to info.
List thread at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201110.mbox/%3Calpine.DEB.2.00.1110041948280.664@eru.sfritsch.de%3E
PR: 35768
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180328 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/core.c b/server/core.c index 8dfb1bb31a..6858cad0de 100644 --- a/server/core.c +++ b/server/core.c @@ -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; |