From c530c9423915d8437a5f53ee1b2d32a88140ae3e Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 21 Jul 2023 09:04:54 -0400 Subject: [PATCH] validate: launcher: Keep gst debug logs in main log fails in debug mode It makes reading the logs much simpler Part-of: --- subprojects/gst-devtools/validate/launcher/baseclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-devtools/validate/launcher/baseclasses.py b/subprojects/gst-devtools/validate/launcher/baseclasses.py index d902774bd7..851de887c6 100644 --- a/subprojects/gst-devtools/validate/launcher/baseclasses.py +++ b/subprojects/gst-devtools/validate/launcher/baseclasses.py @@ -951,7 +951,7 @@ class GstValidateTest(Test): subproc_env["GST_VALIDATE_UUID"] = self.get_uuid() subproc_env["GST_VALIDATE_LOGSDIR"] = self.options.logsdir - if 'GST_DEBUG' in os.environ and not self.options.redirect_logs: + if 'GST_DEBUG' in os.environ and not self.options.redirect_logs and not self.options.debug: gstlogsfile = os.path.splitext(self.logfile)[0] + '.gstdebug' self.extra_logfiles.add(gstlogsfile) subproc_env["GST_DEBUG_FILE"] = gstlogsfile