]> 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>
Fri, 16 Oct 2015 10:50:19 +0000 (12:50 +0200)
fixes #10379

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

index eebf0056a554c11d0d863cd7d411a3dd1de64f89..6d82e1c63921edcad3ef13509a22a9f23d3af2d8 100644 (file)
@@ -121,6 +121,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 4af88285d57a70552f06fcc5c2a4288f07c4bcaa..ef90e35b58aa29e2f914c00b8e7fdf68071e1f71 100644 (file)
@@ -1316,7 +1316,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;