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;
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;
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)
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;
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;
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;
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;
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;