mirror of https://github.com/Icinga/icinga2.git
Made the debug log level slightly less spammy.
This commit is contained in:
parent
7f86ac3390
commit
3ab071fbcb
|
@ -53,8 +53,6 @@ void CheckerComponent::Stop(void)
|
|||
|
||||
void CheckerComponent::CheckTimerHandler(void)
|
||||
{
|
||||
Logger::Write(LogDebug, "checker", "CheckTimerHandler entered.");
|
||||
|
||||
double now = Utility::GetTime();
|
||||
long tasks = 0;
|
||||
|
||||
|
@ -116,8 +114,6 @@ void CheckerComponent::CheckTimerHandler(void)
|
|||
tasks++;
|
||||
}
|
||||
|
||||
Logger::Write(LogDebug, "checker", "CheckTimerHandler: past loop.");
|
||||
|
||||
if (missedServices > 0) {
|
||||
stringstream msgbuf;
|
||||
msgbuf << "Missed " << missedChecks << " checks for " << missedServices << " services";;
|
||||
|
|
|
@ -78,9 +78,11 @@ double Timer::ProcessTimers(void)
|
|||
|
||||
double et = Utility::GetTime();
|
||||
|
||||
stringstream msgbuf;
|
||||
msgbuf << "Timers took " << et - st << " seconds";
|
||||
Logger::Write(LogDebug, "base", msgbuf.str());
|
||||
if (et - st > 0.01) {
|
||||
stringstream msgbuf;
|
||||
msgbuf << "Timers took " << et - st << " seconds";
|
||||
Logger::Write(LogDebug, "base", msgbuf.str());
|
||||
}
|
||||
|
||||
return wakeup;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue