From e4f5dff21cf781e232bb9d02469aa6c6dcc7e823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 5 Jan 2024 11:25:17 +0100 Subject: [PATCH] Addon: log BAT pack parameters This can help to debug issues. Note that these are logged at `INFO` level, and thus probably won't be seen with Python's default logging configuration. --- addon/flamenco/bat/interface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addon/flamenco/bat/interface.py b/addon/flamenco/bat/interface.py index d63ae105..a232aef3 100644 --- a/addon/flamenco/bat/interface.py +++ b/addon/flamenco/bat/interface.py @@ -224,6 +224,11 @@ def copy( # type: ignore # these, Strict Pointer Mode is disabled. submodules.blendfile.set_strict_pointer_mode(False) + log.info("BAT pack parameters:") + log.info("base_blendfile = %r", base_blendfile) + log.info("project = %r", project) + log.info("target = %r", target) + if packer_kwargs is None: packer_kwargs = {} packer = packer_class(