From: Philippe Proulx Date: Fri, 14 Jun 2019 21:15:27 +0000 (-0400) Subject: configure.ac: change default minimal log level from VERBOSE to DEBUG X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=f7a9ecd3e257a39961b4c36684e7edd2c6a191aa 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 --- 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" && \