diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-08-19 01:35:22 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-08-19 02:54:04 -0400 |
commit | d67b60079ff99e8706893886e216aaf2b5ea0709 (patch) | |
tree | a86bc16fb8450307e875f3d720358aca32aaecf0 /ipalib/plugins/batch.py | |
parent | 4a72593893f9037aafb8549e342c14f8bf34e1ae (diff) | |
download | freeipa-d67b60079ff99e8706893886e216aaf2b5ea0709.tar.gz freeipa-d67b60079ff99e8706893886e216aaf2b5ea0709.tar.xz freeipa-d67b60079ff99e8706893886e216aaf2b5ea0709.zip |
Do batch logging on successful commands too, not just failures.
This was an oversight for previous logging patch, ticket 1598
Diffstat (limited to 'ipalib/plugins/batch.py')
-rw-r--r-- | ipalib/plugins/batch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py index b95e5d02..72d7fe39 100644 --- a/ipalib/plugins/batch.py +++ b/ipalib/plugins/batch.py @@ -101,7 +101,7 @@ class batch(Command): result = api.Command[name](*a, **newkw) self.info( - 'batch: %s(%s): SUCCESS', name, ', '.join(api.Command[name]._repr_iter(**params)) + '%s: batch: %s(%s): SUCCESS', context.principal, name, ', '.join(api.Command[name]._repr_iter(**params)) ) result['error']=None except Exception, e: |