aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-22 06:48:19 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-22 06:48:30 +0100
commit39ab3277d4d63f405dfd1643c87f91da8b6f5ec9 (patch)
tree0f21d5a2d907107684c6789094f6390a60feb5f6
parent2c247177a01c61c6ec724d289d6a8eee89f53b33 (diff)
downloadpaludis-39ab3277d4d63f405dfd1643c87f91da8b6f5ec9.tar.gz
paludis-39ab3277d4d63f405dfd1643c87f91da8b6f5ec9.tar.xz
More debuggery.
-rw-r--r--paludis/repositories/e/ebuild_flat_metadata_cache.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
index c92adab..a6f159a 100644
--- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc
+++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
@@ -120,6 +120,10 @@ namespace
it_end(tokens.end()); it_end != it; ++it)
{
const FSEntry * eclass(_imp->eclass_mtimes->eclass(*it));
+ if (eclass)
+ Log::get_instance()->message("e.cache_flat_list.eclass.path", ll_debug, lc_context)
+ << "Cache-requested eclass '" << *it << "' maps to '" << *eclass << "'";
+
if (! eclass)
{
Log::get_instance()->message("e.cache.flat_list.eclass.missing", ll_debug, lc_context)
@@ -363,6 +367,10 @@ EbuildFlatMetadataCache::load(const std::tr1::shared_ptr<const EbuildID> & id)
std::time_t eclass_mtime(destringify<std::time_t>(*it));
const FSEntry * eclass(_imp->eclass_mtimes->eclass(eclass_name));
+ if (eclass)
+ Log::get_instance()->message("e.cache_flat_hash.eclass.path", ll_debug, lc_context)
+ << "Cache-requested eclass '" << eclass_name << "' maps to '" << *eclass << "'";
+
if (! eclass)
{
Log::get_instance()->message("e.cache.flat_hash.eclass.missing", ll_debug, lc_context)
@@ -415,6 +423,10 @@ EbuildFlatMetadataCache::load(const std::tr1::shared_ptr<const EbuildID> & id)
std::time_t exlib_mtime(destringify<std::time_t>(*it));
const FSEntry * exlib(_imp->eclass_mtimes->exlib(exlib_name, id->name()));
+ if (exlib)
+ Log::get_instance()->message("e.cache_flat_hash.exlib.path", ll_debug, lc_context)
+ << "Cache-requested exlib '" << exlib_name << "' maps to '" << *exlib << "'";
+
if (! exlib)
{
Log::get_instance()->message("e.cache.flat_hash.exlib.missing", ll_debug, lc_context)