From f7a9ecd3e257a39961b4c36684e7edd2c6a191aa Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 14 Jun 2019 17:15:27 -0400 Subject: [PATCH] configure.ac: change default minimal log level from VERBOSE to DEBUG The goal here is that Babeltrace users have enough logging by default without impacting the performance too much. From what I measured once this patch is applied, the performance is very similar to an INFO build. Signed-off-by: Philippe Proulx Change-Id: I20346f0f3eecf725e730a3e5add94804637c7193 Reviewed-on: https://review.lttng.org/c/babeltrace/+/1445 Tested-by: jenkins Reviewed-by: Francis Deslauriers --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d6617717..2f76b4ae 100644 --- a/configure.ac +++ b/configure.ac @@ -386,8 +386,8 @@ AC_ARG_VAR([PLUGINSDIR], [built-in plugins install directory [LIBDIR/babeltrace2 AS_IF([test "x$PLUGINSDIR" = x], [PLUGINSDIR='$(libdir)/babeltrace2/plugins']) # BABELTRACE_MINIMAL_LOG_LEVEL: -AC_ARG_VAR([BABELTRACE_MINIMAL_LOG_LEVEL], [Minimal log level for Babeltrace program, library, and plugins (VERBOSE, DEBUG, INFO, WARN, ERROR (default), FATAL, or NONE)]) -AS_IF([test "x$BABELTRACE_MINIMAL_LOG_LEVEL" = x], [BABELTRACE_MINIMAL_LOG_LEVEL="VERBOSE"]) +AC_ARG_VAR([BABELTRACE_MINIMAL_LOG_LEVEL], [Minimal log level for Babeltrace program, library, and plugins (VERBOSE, DEBUG (default), INFO, WARN, ERROR, FATAL, or NONE)]) +AS_IF([test "x$BABELTRACE_MINIMAL_LOG_LEVEL" = x], [BABELTRACE_MINIMAL_LOG_LEVEL="DEBUG"]) AS_IF([test "$BABELTRACE_MINIMAL_LOG_LEVEL" != "VERBOSE" && \ test "$BABELTRACE_MINIMAL_LOG_LEVEL" != "DEBUG" && \ test "$BABELTRACE_MINIMAL_LOG_LEVEL" != "INFO" && \ -- 2.34.1