diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-03-04 10:48:33 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-03-09 15:45:29 +0100 |
commit | 1bfa5e0cac16ab70a0303baebb3f7185859499e2 (patch) | |
tree | 640103b2fd2919f6f89e482b17c732d6336fe8ae /src/libstrongswan/plugins/plugin_loader.c | |
parent | 18597950fa305666e9040099b7bcd67dcc95da7f (diff) | |
download | strongswan-1bfa5e0cac16ab70a0303baebb3f7185859499e2.tar.bz2 strongswan-1bfa5e0cac16ab70a0303baebb3f7185859499e2.tar.xz |
plugin-loader: Increase log level for warning about plugin features that failed to load
Since we can't get rid of all unmet dependencies (at least not in every
possible plugin configuration) the message is more confusing than
helpful. In particular because a detailed warning about plugin features
that failed to load due to unmet dependencies is only logged on level 2.
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.c')
-rw-r--r-- | src/libstrongswan/plugins/plugin_loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index 84ff88fc3..f7ac347d2 100644 --- a/src/libstrongswan/plugins/plugin_loader.c +++ b/src/libstrongswan/plugins/plugin_loader.c @@ -1291,9 +1291,9 @@ METHOD(plugin_loader_t, status, void, if (this->stats.failed) { - dbg(DBG_LIB, level, "unable to load %d plugin feature%s (%d due to " - "unmet dependencies)", this->stats.failed, - this->stats.failed == 1 ? "" : "s", this->stats.depends); + DBG2(DBG_LIB, "unable to load %d plugin feature%s (%d due to unmet " + "dependencies)", this->stats.failed, + this->stats.failed == 1 ? "" : "s", this->stats.depends); } } } |