Made the debug log level slightly less spammy.

This commit is contained in:
Gunnar Beutner 2013-02-09 10:55:54 +01:00
parent 7f86ac3390
commit 3ab071fbcb
2 changed files with 5 additions and 7 deletions

View File

@ -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";;

View File

@ -78,9 +78,11 @@ double Timer::ProcessTimers(void)
double et = Utility::GetTime();
if (et - st > 0.01) {
stringstream msgbuf;
msgbuf << "Timers took " << et - st << " seconds";
Logger::Write(LogDebug, "base", msgbuf.str());
}
return wakeup;
}