You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2007/12/28 15:16:35 UTC

svn commit: r607245 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Author: rpluem
Date: Fri Dec 28 06:16:35 2007
New Revision: 607245

URL: http://svn.apache.org/viewvc?rev=607245&view=rev
Log:
* Make loglevel consistent for similar situations. As this really should not
  happen set it to error.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=607245&r1=607244&r2=607245&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Fri Dec 28 06:16:35 2007
@@ -165,7 +165,7 @@
          */
         rv = apr_file_rename(dobj->tempfile, dobj->datafile, r->pool);
         if (rv != APR_SUCCESS) {
-            ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
+            ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
                          "disk_cache: rename tempfile to datafile failed:"
                          " %s -> %s", dobj->tempfile, dobj->datafile);
             apr_file_remove(dobj->tempfile, r->pool);
@@ -874,7 +874,7 @@
             rv = safe_file_rename(conf, dobj->tempfile, dobj->hdrsfile,
                                   r->pool);
             if (rv != APR_SUCCESS) {
-                ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
+                ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
                     "disk_cache: rename tempfile to varyfile failed: %s -> %s",
                     dobj->tempfile, dobj->hdrsfile);
                 apr_file_remove(dobj->tempfile, r->pool);