decreased plugin load verbosity
authorMartin Willi <martin@strongswan.org>
Tue, 13 May 2008 09:14:36 +0000 (09:14 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 13 May 2008 09:14:36 +0000 (09:14 -0000)
src/libstrongswan/plugins/plugin_loader.c

index 215ed53..3ed30c5 100644 (file)
@@ -57,7 +57,7 @@ static int load(private_plugin_loader_t *this, char *path, char *prefix)
                DBG1("opening plugin directory %s failed", path);
                return 0;
        }
-       DBG1("loading plugins from %s", path);
+       DBG2("loading plugins from %s", path);
        while (enumerator->enumerate(enumerator, &rel, &file, NULL))
        {
                plugin_t *plugin;
@@ -92,7 +92,7 @@ static int load(private_plugin_loader_t *this, char *path, char *prefix)
                        dlclose(handle);
                        continue;
                }
-               DBG1("plugin %s loaded successfully", rel);
+               DBG2("plugin %s loaded successfully", rel);
                /* insert in front to destroy them in reverse order */
                this->plugins->insert_last(this->plugins, plugin);
                /* we do not store or free dlopen() handles, leak_detective requires