aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-13 12:08:16 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-13 12:08:16 +0000
commitc62b7ee2842cc48bcbb211dadab2b914e26bfa7d (patch)
treec053a86ed6cd38a73b1d4fe9c56fefce5faeaf02
parent033ffce97b67e90ebfb7455f673e59b6d5b83045 (diff)
downloadpaludis-c62b7ee2842cc48bcbb211dadab2b914e26bfa7d.tar.gz
paludis-c62b7ee2842cc48bcbb211dadab2b914e26bfa7d.tar.xz
Remove some of the noisier ll_debug messages
-rw-r--r--paludis/environment/no_config/no_config_environment.cc19
-rw-r--r--paludis/repositories/gentoo/portage_repository.cc2
-rw-r--r--paludis/repositories/gentoo/portage_repository_profile.cc7
3 files changed, 0 insertions, 28 deletions
diff --git a/paludis/environment/no_config/no_config_environment.cc b/paludis/environment/no_config/no_config_environment.cc
index a98c0d0..187c4a9 100644
--- a/paludis/environment/no_config/no_config_environment.cc
+++ b/paludis/environment/no_config/no_config_environment.cc
@@ -209,24 +209,15 @@ NoConfigEnvironment::accept_keyword(const KeywordName & k, const PackageDatabase
if (_imp->is_vdb)
return true;
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword " + stringify(k) + ":");
std::string accept_keywords(_imp->portage_repo->profile_variable("ACCEPT_KEYWORDS"));
if (accept_keywords.empty())
{
std::string arch(_imp->portage_repo->profile_variable("ARCH"));
if (stringify(k) == arch)
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword match on arch");
return true;
- }
if ((_imp->accept_unstable || override_tilde_keywords) && ("~" + stringify(k) == arch))
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword match on ~arch");
return true;
- }
-
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword no match on arch");
}
else
{
@@ -235,24 +226,14 @@ NoConfigEnvironment::accept_keyword(const KeywordName & k, const PackageDatabase
create_inserter<KeywordName>(std::back_inserter(accepted)));
if (accepted.end() != std::find(accepted.begin(), accepted.end(), k))
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword match on accepted");
return true;
- }
if ((_imp->accept_unstable || override_tilde_keywords) && '~' == stringify(k).at(0))
{
if (accepted.end() != std::find(accepted.begin(), accepted.end(),
KeywordName(stringify(k).substr(1))))
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword match on ~accepted");
return true;
- }
-
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword no match on ~accepted");
}
- else
- Log::get_instance()->message(ll_debug, lc_no_context, "accept_keyword no match on accepted");
}
return false;
diff --git a/paludis/repositories/gentoo/portage_repository.cc b/paludis/repositories/gentoo/portage_repository.cc
index 850a66a..bbd9665 100644
--- a/paludis/repositories/gentoo/portage_repository.cc
+++ b/paludis/repositories/gentoo/portage_repository.cc
@@ -563,8 +563,6 @@ PortageRepository::need_version_names(const QualifiedPackageName & n) const
Context context("When loading versions for '" + stringify(n) + "' in "
+ stringify(name()) + ":");
- Log::get_instance()->message(ll_debug, lc_context, "need_version_names '" + stringify(n) + "'");
-
std::tr1::shared_ptr<VersionSpecCollection> v(new VersionSpecCollection::Concrete);
FSEntry path(_imp->params.location / stringify(n.category) /
diff --git a/paludis/repositories/gentoo/portage_repository_profile.cc b/paludis/repositories/gentoo/portage_repository_profile.cc
index 38d2e75..b53c646 100644
--- a/paludis/repositories/gentoo/portage_repository_profile.cc
+++ b/paludis/repositories/gentoo/portage_repository_profile.cc
@@ -651,16 +651,9 @@ PortageRepositoryProfile::environment_variable(const std::string & s) const
{
EnvironmentVariablesMap::const_iterator i(_imp->environment_variables.find(s));
if (_imp->environment_variables.end() == i)
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "Environment variable '" + s + "' is unset");
return "";
- }
else
- {
- Log::get_instance()->message(ll_debug, lc_no_context, "Environment variable '" + s +
- "' is '" + i->second + "'");
return i->second;
- }
}
std::tr1::shared_ptr<AllDepAtom>