Commit f883b4c8 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

Move the debuging log message about the removal of a url from

cache_remove_url_filter to cache_remove_url.

Submitted by: Rudiger Plum <ruediger.pluem vodafone.com>
Reviewed by: Justin Erenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232335 13f79535-47bb-0310-9956-ffa450edef68
parent 994b0a84
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -43,6 +43,8 @@ int cache_remove_url(cache_request_rec *cache, apr_pool_t *p)
    if (!h) {
       return OK;
    }
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL,
                 "cache: Removing url %s from the cache", h->cache_obj->key);

    /* for each specified cache type, delete the URL */
    while(list) {
+2 −5
Original line number Diff line number Diff line
@@ -803,12 +803,9 @@ static int cache_remove_url_filter(ap_filter_t *f, apr_bucket_brigade *in)
        ap_remove_output_filter(f);
        return ap_pass_brigade(f->next, in);
    }
    /*
     * Now remove this cache entry from the cache
     */
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                 "cache: Removing url %s from the cache", f->r->unparsed_uri);
    /* Now remove this cache entry from the cache */
    cache_remove_url(cache, r->pool);

    /* remove ourselves */
    ap_remove_output_filter(f);
    return ap_pass_brigade(f->next, in);