plugin-loader: Reduce verbosity while loading plugins
This commit is contained in:
@@ -622,12 +622,12 @@ static bool load_dependencies(private_plugin_loader_t *this,
|
|||||||
depend = plugin_feature_get_string(&provided->feature[i]);
|
depend = plugin_feature_get_string(&provided->feature[i]);
|
||||||
if (soft)
|
if (soft)
|
||||||
{
|
{
|
||||||
DBG2(DBG_LIB, "%*sfeature %s in plugin '%s' has unmet soft "
|
DBG3(DBG_LIB, "%*sfeature %s in plugin '%s' has unmet soft "
|
||||||
"dependency: %s", indent, "", provide, name, depend);
|
"dependency: %s", indent, "", provide, name, depend);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DBG1(DBG_LIB, "feature %s in plugin '%s' has unmet dependency: "
|
DBG2(DBG_LIB, "feature %s in plugin '%s' has unmet dependency: "
|
||||||
"%s", provide, name, depend);
|
"%s", provide, name, depend);
|
||||||
}
|
}
|
||||||
free(provide);
|
free(provide);
|
||||||
@@ -689,12 +689,12 @@ static void load_provided(private_plugin_loader_t *this,
|
|||||||
provide = plugin_feature_get_string(provided->feature);
|
provide = plugin_feature_get_string(provided->feature);
|
||||||
if (provided->loading)
|
if (provided->loading)
|
||||||
{ /* prevent loop */
|
{ /* prevent loop */
|
||||||
DBG2(DBG_LIB, "%*sloop detected while loading %s in plugin '%s'",
|
DBG3(DBG_LIB, "%*sloop detected while loading %s in plugin '%s'",
|
||||||
indent, "", provide, name);
|
indent, "", provide, name);
|
||||||
free(provide);
|
free(provide);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DBG2(DBG_LIB, "%*sloading feature %s in plugin '%s'",
|
DBG3(DBG_LIB, "%*sloading feature %s in plugin '%s'",
|
||||||
indent, "", provide, name);
|
indent, "", provide, name);
|
||||||
free(provide);
|
free(provide);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user