1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Merge pull request from Icinga/feature/debug-log-stop

Debug: Log calls to ConfigObject::Deactivate()
This commit is contained in:
Michael Friedrich 2019-02-19 13:52:39 +01:00 committed by GitHub
commit 7d3f60f561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -631,6 +631,10 @@ void ConfigObject::StopObjects()
continue;
for (const ConfigObject::Ptr& object : dtype->GetObjects()) {
#ifdef I2_DEBUG
Log(LogDebug, "ConfigObject")
<< "Deactivate() called for config object '" << object->GetName() << "' with type '" << type->GetName() << "'.";
#endif /* I2_DEBUG */
object->Deactivate();
}
}