mirror of https://github.com/Icinga/icinga2.git
parent
47f814cc4d
commit
c66878fa45
|
@ -22,6 +22,7 @@
|
|||
#include "base/application.h"
|
||||
#include "base/dynamictype.h"
|
||||
#include "base/objectlock.h"
|
||||
#include "base/convert.h"
|
||||
#include "base/logger_fwd.h"
|
||||
#include "base/debug.h"
|
||||
#include "base/workqueue.h"
|
||||
|
@ -312,6 +313,11 @@ bool ConfigItem::ActivateItems(bool validateOnly)
|
|||
|
||||
upq.Join();
|
||||
|
||||
/* log stats for external parsers */
|
||||
BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) {
|
||||
Log(LogInformation, "config", "Checked " + Convert::ToString(type->GetObjects().size()) + " " + type->GetName() + "(s).");
|
||||
}
|
||||
|
||||
if (ConfigCompilerContext::GetInstance()->HasErrors())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue