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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 6 May 2019 14:21:32 +0000 (10:21 -0400)
commit49a5e32549bd90994f772a3af09339204f220b73
treecf7212c67abaef13a403c1b74e5da6e8f4314154
parent68d9d039b7a06245b9e376213c5ec2e0efab4a95
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.024583 seconds and 4 git commands to generate.