From: Michael Friedrich Date: Thu, 15 Oct 2015 16:43:30 +0000 (+0200) Subject: Add a debug log message for updating the program status table in DB IDO X-Git-Tag: v2.4.0~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=498ff3c1ee320a107747a0b700ef49caa7d71f6e;p=icinga2 Add a debug log message for updating the program status table in DB IDO fixes #10379 --- diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index 4c73b26bf..c78065505 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -125,6 +125,9 @@ void DbConnection::InsertRuntimeVariable(const String& key, const Value& value) void DbConnection::ProgramStatusHandler(void) { + Log(LogNotice, "DbConnection") + << "Updating programstatus table."; + DbQuery query1; query1.Table = "programstatus"; query1.Type = DbQueryDelete; diff --git a/lib/db_ido/dbevents.cpp b/lib/db_ido/dbevents.cpp index afcd8e86b..c00eefd5e 100644 --- a/lib/db_ido/dbevents.cpp +++ b/lib/db_ido/dbevents.cpp @@ -1363,7 +1363,7 @@ void DbEvents::AddCheckableCheckHistory(const Checkable::Ptr& checkable, const C return; Log(LogDebug, "DbEvents") - << "add service check history for '" << checkable->GetName() << "'"; + << "add checkable check history for '" << checkable->GetName() << "'"; Host::Ptr host; Service::Ptr service;