cli/babeltrace.c: update known log level environment variable names
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 5 May 2019 11:53:50 +0000 (07:53 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 6 May 2019 14:13:09 +0000 (10:13 -0400)
Eventually we could find another way to synchronize the environment
variable names we use throughout the project with the CLI. We want to
decouple the plugins from the CLI (plugins do not know CLI, but CLI
knows plugins) so I don't want the plugins to support an environment
variable defined by the CLI for example.

For the moment, I'm using this:

    rg --pcre2 -N --iglob='*.c' --iglob='*.h' --no-filename -o \
       'BABELTRACE_\w+(?<!CLI)_LOG_LEVEL\b' --color=never | sort | uniq

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I148c5c859570d0b1a654c829b31066155e8ecf5e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1258
Tested-by: jenkins

No differences found
This page took 0.025963 seconds and 4 git commands to generate.