Add a debug log message for updating the program status table in DB IDO

fixes #10379
This commit is contained in:
Michael Friedrich 2015-10-15 18:43:30 +02:00
parent 10c306673d
commit 498ff3c1ee
2 changed files with 4 additions and 1 deletions

View File

@ -125,6 +125,9 @@ void DbConnection::InsertRuntimeVariable(const String& key, const Value& value)
void DbConnection::ProgramStatusHandler(void) void DbConnection::ProgramStatusHandler(void)
{ {
Log(LogNotice, "DbConnection")
<< "Updating programstatus table.";
DbQuery query1; DbQuery query1;
query1.Table = "programstatus"; query1.Table = "programstatus";
query1.Type = DbQueryDelete; query1.Type = DbQueryDelete;

View File

@ -1363,7 +1363,7 @@ void DbEvents::AddCheckableCheckHistory(const Checkable::Ptr& checkable, const C
return; return;
Log(LogDebug, "DbEvents") Log(LogDebug, "DbEvents")
<< "add service check history for '" << checkable->GetName() << "'"; << "add checkable check history for '" << checkable->GetName() << "'";
Host::Ptr host; Host::Ptr host;
Service::Ptr service; Service::Ptr service;