Skip to content

Commit b21955c

Browse files
authored
Plugin manager: use info instead of error for plugins missing external dependencies (#964)
Signed-off-by: Ovidiu Mara <[email protected]>
1 parent 198024e commit b21955c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/nixl_plugin_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ std::shared_ptr<const nixlPluginHandle> nixlPluginManager::loadPluginFromPath(co
119119
// Open the plugin file
120120
void* handle = dlopen(plugin_path.c_str(), RTLD_NOW | RTLD_LOCAL);
121121
if (!handle) {
122-
NIXL_ERROR << "Failed to load plugin from " << plugin_path << ": " << dlerror();
122+
NIXL_INFO << "Failed to load plugin from " << plugin_path << ": " << dlerror();
123123
return nullptr;
124124
}
125125

@@ -285,7 +285,7 @@ std::shared_ptr<const nixlPluginHandle> nixlPluginManager::loadPlugin(const std:
285285
}
286286

287287
// Failed to load the plugin
288-
NIXL_ERROR << "Failed to load plugin '" << plugin_name << "' from any directory";
288+
NIXL_INFO << "Failed to load plugin '" << plugin_name << "' from any directory";
289289
return nullptr;
290290
}
291291

0 commit comments

Comments
 (0)