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>
Fri, 20 Jul 2018 22:42:44 +0000 (18:42 -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 c0716af25e042098f969dd9bfd5030f6498900ae..d97dae2d1dc43667624964316a5b11b8d646e3f0 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.02719 seconds and 4 git commands to generate.