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) {
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);