Logging: define `BT_LOG*_SUPPORTED` when logging is supported
[babeltrace.git] / src / lib / plugin / plugin.c
index 5bf1a151f6a87fa2d3060425f52937dfac18faf9..9459438662b9e5ad9a1bd9042c2b42dc4cc79a2a 100644 (file)
@@ -23,7 +23,7 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "PLUGIN"
+#define BT_LOG_TAG "LIB/PLUGIN"
 #include "lib/lib-logging.h"
 
 #include "common/assert.h"
@@ -214,7 +214,7 @@ const struct bt_plugin *bt_plugin_find(const char *plugin_name)
                }
        }
 
-       home_plugin_dir = bt_common_get_home_plugin_path();
+       home_plugin_dir = bt_common_get_home_plugin_path(BT_LOG_OUTPUT_LEVEL);
        if (home_plugin_dir) {
                GString *home_plugin_dir_str =
                        g_string_new(home_plugin_dir);
This page took 0.027517 seconds and 4 git commands to generate.