diff options
author | harlowja <harlowja@virtualbox.rhel> | 2012-06-20 00:31:45 -0700 |
---|---|---|
committer | harlowja <harlowja@virtualbox.rhel> | 2012-06-20 00:31:45 -0700 |
commit | baa139e0112f0afe27238ed681b44faef0c7132f (patch) | |
tree | e0000e5ace99221aca3a9dbd5ea134444946b887 /cloudinit | |
parent | c431144283b6a348c761636e552c74091f4367f1 (diff) | |
download | vyos-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')
-rw-r--r-- | cloudinit/helpers.py | 4 |
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: |