Commit a59764f7 authored by Alessio Netti's avatar Alessio Netti
Browse files

Initialization changes

- If no analyzerPlugins block is present in global.conf, initialization
of the data analytics framework will be skipped without terminating the
pusher
parent 83c38fc1
......@@ -30,7 +30,8 @@ bool AnalyticsManager::load(const string& path, const string& globalFile, const
if(cfg.find("analyzerPlugins") == cfg.not_found()) {
LOG(warning) << "No analyzerPlugins block found, skipping data analytics initialization!";
return false;
_status = LOADED;
return true;
}
BOOST_FOREACH(boost::property_tree::iptree::value_type &plugin, cfg.get_child("analyzerPlugins")) {
......
......@@ -370,7 +370,7 @@ protected:
} else {
if (unit(*u)) {
an.addToOndemandCache(u);
LOG(debug) << " Template unit for on-demand operation generated!";
LOG(debug) << " Template unit for on-demand operation " + u->getName() + " generated!";
} else {
LOG(error) << " Template unit " << u->getName() << " did not pass the final check!";
an.clearUnits();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment