jjb: lttng-tools: Add log4j2 to agents config
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 18 Feb 2022 19:55:54 +0000 (14:55 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 18 Feb 2022 19:55:54 +0000 (14:55 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I1543b06461867db50dd07cf8b5d77e994781dce1

scripts/lttng-tools/build.sh

index 26048ff1b6e94fb7470ce7743db2ff1970feb798..a41fbfb3d76d4b9741cc9baa4ef43a55dda6bc40 100755 (executable)
@@ -349,6 +349,11 @@ agents)
     export PYTHONPATH="$DEPS_PYTHON2:$DEPS_PYTHON3"
 
     CONF_OPTS+=("--enable-test-java-agent-all" "--enable-test-python-agent-all")
+
+    # Explicitly add '--enable-test-java-agent-log4j2', it's not part of '-all' in stable 2.12/2.13
+    if verlt "$PACKAGE_VERSION" "2.14"; then
+        CONF_OPTS+=("--enable-test-java-agent-log4j2")
+    fi
     ;;
 
 relayd-only)
This page took 0.023378 seconds and 4 git commands to generate.