plugin-loader: Reduce verbosity while loading plugins
authorTobias Brunner <tobias@strongswan.org>
Thu, 20 Jun 2013 18:27:45 +0000 (20:27 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Jun 2013 13:13:25 +0000 (15:13 +0200)
src/libstrongswan/plugins/plugin_loader.c

index cd5f93f..828a620 100644 (file)
@@ -622,12 +622,12 @@ static bool load_dependencies(private_plugin_loader_t *this,
                        depend = plugin_feature_get_string(&provided->feature[i]);
                        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);
                        }
                        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);
                        }
                        free(provide);
@@ -689,12 +689,12 @@ static void load_provided(private_plugin_loader_t *this,
        provide = plugin_feature_get_string(provided->feature);
        if (provided->loading)
        {       /* 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);
                free(provide);
                return;
        }
-       DBG2(DBG_LIB, "%*sloading feature %s in plugin '%s'",
+       DBG3(DBG_LIB, "%*sloading feature %s in plugin '%s'",
                 indent, "", provide, name);
        free(provide);