summaryrefslogtreecommitdiff
path: root/cloudinit/helpers.py
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-20 00:31:45 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-20 00:31:45 -0700
commitbaa139e0112f0afe27238ed681b44faef0c7132f (patch)
treee0000e5ace99221aca3a9dbd5ea134444946b887 /cloudinit/helpers.py
parentc431144283b6a348c761636e552c74091f4367f1 (diff)
downloadvyos-cloud-init-baa139e0112f0afe27238ed681b44faef0c7132f.tar.gz
vyos-cloud-init-baa139e0112f0afe27238ed681b44faef0c7132f.zip
Show the lock object name and the lock value - useful for debugging
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r--cloudinit/helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py
index 09686340..21d203db 100644
--- a/cloudinit/helpers.py
+++ b/cloudinit/helpers.py
@@ -155,8 +155,8 @@ class Runners(object):
if not lk:
raise LockFailure("Failed to acquire lock for %s" % name)
else:
- LOG.debug("Running %s with args %s using lock %s",
- functor, args, lk)
+ LOG.debug("Running %s with args %s using lock %s (%s)",
+ functor, args, util.obj_name(lk), lk)
if isinstance(args, (dict)):
results = functor(**args)
else: