From baa139e0112f0afe27238ed681b44faef0c7132f Mon Sep 17 00:00:00 2001 From: harlowja Date: Wed, 20 Jun 2012 00:31:45 -0700 Subject: Show the lock object name and the lock value - useful for debugging --- cloudinit/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cloudinit/helpers.py') 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: -- cgit v1.2.3