summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-08-17 06:57:20 -0700
committerDaniel Burrows <dburrows@debian.org>2009-08-17 06:57:20 -0700
commit588abb86aaf59b01a59943e99f4cb28ddc7c772e (patch)
treea327094b3bab731ec5c99fd9a48da22db240bcfe
parent153d98658cfe831ce7e86a2ba6b0c4d89ea9fe8e (diff)
downloadaptitude-588abb86aaf59b01a59943e99f4cb28ddc7c772e.tar.gz
Log after the cache insert transaction is committed.
-rw-r--r--src/generic/util/file_cache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/generic/util/file_cache.cc b/src/generic/util/file_cache.cc
index 55aa4134..95d8e76c 100644
--- a/src/generic/util/file_cache.cc
+++ b/src/generic/util/file_cache.cc
@@ -448,6 +448,8 @@ insert into globals(TotalBlobSize) values(0); \
store->exec("commit");
+ LOG_TRACE(Loggers::getAptitudeDownloadCache(),
+ boost::format("Cached \"%s\" as \"%s\"") % path % key);
}
catch(...)
{