From 21b653b7660d0e99bc45296315c8f3cd05987412 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Fri, 12 Jul 2019 17:27:29 -0400 Subject: [PATCH] lib: plugin-so.c: ERROR and INFO level messages logged in callee Failing to load a plugin from a file is not an error as we often need to try to load shared libraries to tell if they actually contain a Babeltrace plugin. Signed-off-by: Francis Deslauriers Change-Id: Ic5b72e0f0c050b7e11896d264787d852139eaf56 Reviewed-on: https://review.lttng.org/c/babeltrace/+/1701 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/lib/plugin/plugin-so.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/plugin/plugin-so.c b/src/lib/plugin/plugin-so.c index c7b447c4..a11798cc 100644 --- a/src/lib/plugin/plugin-so.c +++ b/src/lib/plugin/plugin-so.c @@ -1489,8 +1489,6 @@ int bt_plugin_so_create_all_from_file(const char *path, if (status != BT_FUNC_STATUS_OK) { /* bt_plugin_so_shared_lib_handle_create() logs more details */ BT_ASSERT(!shared_lib_handle); - BT_LIB_LOGE_APPEND_CAUSE( - "Cannot create shared library handle."); goto end; } -- 2.34.1