/*
- * $Id$
- *
* DEBUG: section 20 Storage Manager Logging Functions
* AUTHOR: Duane Wessels
*
*
*/
-#include "squid-old.h"
+#include "squid.h"
#include "format/Token.h"
#include "HttpReply.h"
#include "log/File.h"
#include "MemObject.h"
#include "mgr/Registration.h"
-#include "Store.h"
+#include "SquidConfig.h"
#include "SquidTime.h"
+#include "Store.h"
+#include "store_log.h"
static const char *storeLogTags[] = {
"CREATE",
++storeLogTagsCounts[tag];
if (mem != NULL) {
if (mem->log_url == NULL) {
- debugs(20, 1, "storeLog: NULL log_url for " << mem->url);
+ debugs(20, DBG_IMPORTANT, "storeLog: NULL log_url for " << mem->url);
mem->dump();
mem->log_url = xstrdup(mem->url);
}
e->swap_dirn,
e->swap_filen,
e->getMD5Text(),
- reply->sline.status,
+ reply->sline.status(),
(int) reply->date,
(int) reply->last_modified,
(int) reply->expires,
storeLogRegisterWithCacheManager();
if (Config.Log.store == NULL || strcmp(Config.Log.store, "none") == 0) {
- debugs(20, 1, "Store logging disabled");
+ debugs(20, DBG_IMPORTANT, "Store logging disabled");
return;
}