summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-29 13:28:59 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-29 13:28:59 +0300
commitbbecf249fee81dd5409ba817a7c9209fc0b4a692 (patch)
treeab562cd32f9411a09c3ef61084bbb5182413ac15
parent904e75557c3db584c4a71d8111d9e05f904d0490 (diff)
downloadvmdb2-bbecf249fee81dd5409ba817a7c9209fc0b4a692.tar.gz
log for debugging
Sponsored-by: author
-rw-r--r--vmdb/spec.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/vmdb/spec.py b/vmdb/spec.py
index cfcba9c..f987341 100644
--- a/vmdb/spec.py
+++ b/vmdb/spec.py
@@ -16,6 +16,8 @@
# =*= License: GPL-3+ =*=
+import logging
+
import jinja2
import yaml
@@ -35,6 +37,7 @@ class Spec:
def expand_templates(value, params):
+ logging.debug(f"expanding {value!r} with {params!r}")
if isinstance(value, str):
template = jinja2.Template(value)
return template.render(**params)