mirror of https://github.com/Icinga/icinga2.git
Change log level for some debug messages.
This commit is contained in:
parent
beeddb6840
commit
9ac731ba8e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue