Logging: standardize logging tags
[babeltrace.git] / src / lib / plugin / plugin-so.c
index b7acd815ae6dfb1286e97f8a93378e696e1b0b5f..fac050dcbbd9dbbafb55ca17494a966b32aa31e3 100644 (file)
@@ -23,7 +23,7 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "PLUGIN-SO"
+#define BT_LOG_TAG "LIB/PLUGIN-SO"
 #include "lib/lib-logging.h"
 
 #include "common/assert.h"
@@ -138,7 +138,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
        }
 
        if (shared_lib_handle->module) {
-#ifndef NDEBUG
+#ifndef BT_DEBUG_MODE
                /*
                 * Valgrind shows incomplete stack traces when
                 * dynamically loaded libraries are closed before it
@@ -157,7 +157,7 @@ void bt_plugin_so_shared_lib_handle_destroy(struct bt_object *obj)
                        }
 
                        shared_lib_handle->module = NULL;
-#ifndef NDEBUG
+#ifndef BT_DEBUG_MODE
                } else {
                        BT_LOGI("Not closing GModule because `BABELTRACE_NO_DLCLOSE=1`: "
                                "path=\"%s\"", path);
This page took 0.024097 seconds and 4 git commands to generate.