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)
commit918fe7803f15116ec31c444482e5fb00e3353e27
tree548876950c6cffae73e216b28772c0d6ead63d83
parentfdd3a2da18afef5ca32ba181a8b6ebbff173df02
cli/babeltrace.c: update known log level environment variable names

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
cli/babeltrace.c
This page took 0.024792 seconds and 4 git commands to generate.