mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6958 from Icinga/feature/debug-log-stop
Debug: Log calls to ConfigObject::Deactivate()
This commit is contained in:
commit
7d3f60f561
|
@ -631,6 +631,10 @@ void ConfigObject::StopObjects()
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (const ConfigObject::Ptr& object : dtype->GetObjects()) {
|
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();
|
object->Deactivate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue