]> granicus.if.org Git - icinga2/commitdiff
Add a debug log message for updating the program status table in DB IDO
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 15 Oct 2015 16:43:30 +0000 (18:43 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 15 Oct 2015 16:43:30 +0000 (18:43 +0200)
fixes #10379

lib/db_ido/dbconnection.cpp
lib/db_ido/dbevents.cpp

index 4c73b26bfaf47260619acc4b18b58d16df3d2034..c78065505288d5abb3ed177742a4b18246bade92 100644 (file)
@@ -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;
index afcd8e86be6bd4929055592135d295352b46a740..c00eefd5ee8e0926fb764ff06d104a33839487c0 100644 (file)
@@ -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;