lib: use `LIBBABELTRACE2_INIT_LOG_LEVEL` env. var. to initialize log level
[babeltrace.git] / src / cli / babeltrace2.c
index e38eac7011150e7c9e1bdda7b4a4e75e305a0d2c..c8c8e821d55502a61b28089a09029334b2b0a91d 100644 (file)
@@ -2755,7 +2755,7 @@ void set_auto_log_levels(struct bt_config *cfg)
         *                is less verbose than VERBOSE in the internal
         *                logging framework)
         */
-       if (!getenv("BABELTRACE_LOGGING_GLOBAL_LEVEL")) {
+       if (!getenv("LIBBABELTRACE2_INIT_LOG_LEVEL")) {
                if (cfg->verbose) {
                        bt_logging_set_global_level(BT_LOG_INFO);
                } else if (cfg->debug) {
This page took 0.025502 seconds and 4 git commands to generate.