Change log level for some debug messages.

This commit is contained in:
Gunnar Beutner 2013-03-15 11:18:56 +01:00
parent beeddb6840
commit 9ac731ba8e
8 changed files with 9 additions and 11 deletions

View File

@ -348,7 +348,7 @@ void Host::RefreshServicesCache(void)
m_ServicesCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating Host services cache.");
Logger::Write(LogDebug, "icinga", "Updating Host services cache.");
map<String, map<String, Service::WeakPtr> > newServicesCache;

View File

@ -148,7 +148,7 @@ void HostGroup::RefreshMembersCache(void)
m_MembersCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating HostGroup members cache.");
Logger::Write(LogDebug, "icinga", "Updating HostGroup members cache.");
map<String, vector<Host::WeakPtr> > newMembersCache;

View File

@ -676,10 +676,8 @@ void Service::CheckCompletedHandler(const Dictionary::Ptr& checkInfo,
if (!result->Contains("active"))
result->Set("active", 1);
if (!result->Contains("current_checker")) {
EndpointManager::Ptr em = EndpointManager::GetInstance();
result->Set("current_checker", em->GetIdentity());
}
if (!result->Contains("current_checker"))
result->Set("current_checker", EndpointManager::GetInstance()->GetIdentity());
}
if (result)

View File

@ -204,7 +204,7 @@ void Service::RefreshCommentsCache(void)
m_CommentsCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating Service comments cache.");
Logger::Write(LogDebug, "icinga", "Updating Service comments cache.");
map<int, String> newLegacyCommentsCache;
map<String, Service::WeakPtr> newCommentsCache;

View File

@ -278,7 +278,7 @@ void Service::RefreshDowntimesCache(void)
m_DowntimesCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating Service downtimes cache.");
Logger::Write(LogDebug, "icinga", "Updating Service downtimes cache.");
map<int, String> newLegacyDowntimesCache;
map<String, Service::WeakPtr> newDowntimesCache;

View File

@ -115,7 +115,7 @@ void Service::RefreshNotificationsCache(void)
m_NotificationsCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating Service notifications cache.");
Logger::Write(LogDebug, "icinga", "Updating Service notifications cache.");
map<String, set<Notification::WeakPtr> > newNotificationsCache;

View File

@ -148,7 +148,7 @@ void ServiceGroup::RefreshMembersCache(void)
m_MembersCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating ServiceGroup members cache.");
Logger::Write(LogDebug, "icinga", "Updating ServiceGroup members cache.");
map<String, vector<Service::WeakPtr> > newMembersCache;

View File

@ -130,7 +130,7 @@ void UserGroup::RefreshMembersCache(void)
m_MembersCacheNeedsUpdate = false;
}
Logger::Write(LogInformation, "icinga", "Updating UserGroup members cache.");
Logger::Write(LogDebug, "icinga", "Updating UserGroup members cache.");
map<String, vector<User::WeakPtr> > newMembersCache;