summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-08-19 01:35:22 -0400
committerRob Crittenden <rcritten@redhat.com>2011-08-19 02:54:22 -0400
commitc39321d35c16e40d6a947a4a69f9efe597979867 (patch)
treeb0013428c3edc94e1798c85eb9455e5456ec565f /ipalib
parent9363260ca0d10cfeff902f7241c731680074550d (diff)
downloadfreeipa-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.py2
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: