summaryrefslogtreecommitdiff
path: root/cloudinit/handlers
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-17 00:15:04 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-17 00:15:04 -0700
commitbcaa16409d7db7bc13456f8df47688e9e6f4f5ed (patch)
tree98b1a89048df8b7327209d38da5a0fd59f65aee2 /cloudinit/handlers
parentf0a4bf58817b42f7cbb91fed97ccb412da4788c2 (diff)
downloadvyos-cloud-init-bcaa16409d7db7bc13456f8df47688e9e6f4f5ed.tar.gz
vyos-cloud-init-bcaa16409d7db7bc13456f8df47688e9e6f4f5ed.zip
Log handler + info that is about to be called
Diffstat (limited to 'cloudinit/handlers')
-rw-r--r--cloudinit/handlers/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cloudinit/handlers/__init__.py b/cloudinit/handlers/__init__.py
index d3374666..c6f2119c 100644
--- a/cloudinit/handlers/__init__.py
+++ b/cloudinit/handlers/__init__.py
@@ -104,7 +104,9 @@ def run_part(mod, data, ctype, filename, payload, frequency):
except:
mod_ver = 1
try:
- if mod_ver and mod_ver >= 2:
+ LOG.debug("Calling handler %s (%s, %s, %s) with frequency %s",
+ mod, ctype, filename, mod_ver, frequency)
+ if mod_ver >= 2:
# Treat as v. 2 which does get a frequency
mod.handle_part(data, ctype, filename, payload, frequency)
else: