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:22 -0400 |
commit | c39321d35c16e40d6a947a4a69f9efe597979867 (patch) | |
tree | b0013428c3edc94e1798c85eb9455e5456ec565f /ipalib | |
parent | 9363260ca0d10cfeff902f7241c731680074550d (diff) | |
download | freeipa-c39321d35c16e40d6a947a4a69f9efe597979867.tar.gz freeipa-c39321d35c16e40d6a947a4a69f9efe597979867.tar.xz freeipa-c39321d35c16e40d6a947a4a69f9efe597979867.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')
-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 b95e5d028..72d7fe39e 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: |