Set consumer's verbosity to the max level on --verbose-consumer
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Jul 2018 22:41:49 +0000 (18:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Sep 2018 21:29:38 +0000 (17:29 -0400)
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 <jeremie.galarneau@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c

index 50e2f4648befe1e5858457d7e198c04911737f37..78316056de5a210a999b8c90d7ef6130f9280742 100644 (file)
@@ -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);
This page took 0.026963 seconds and 4 git commands to generate.