From: Jérémie Galarneau Date: Fri, 20 Jul 2018 22:41:49 +0000 (-0400) Subject: Set consumer's verbosity to the max level on --verbose-consumer X-Git-Tag: v2.11.0-rc1~159 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0ca413e056cf24ec5424cde5c78227138b0782c7;p=lttng-tools.git Set consumer's verbosity to the max level on --verbose-consumer The consumer's verbosity is set to '1' when --verbose-consumer is used when launching the session daemon. This means that all DBG2/3() statements are ignored. This commit always sets the consumer's verbosity to the maximal level. Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-consumerd/lttng-consumerd.c b/src/bin/lttng-consumerd/lttng-consumerd.c index c0716af25..d97dae2d1 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.c +++ b/src/bin/lttng-consumerd/lttng-consumerd.c @@ -252,7 +252,7 @@ static int parse_args(int argc, char **argv) lttng_opt_quiet = 1; break; case 'v': - lttng_opt_verbose = 1; + lttng_opt_verbose = 3; break; case 'V': fprintf(stdout, "%s\n", VERSION);