From c39321d35c16e40d6a947a4a69f9efe597979867 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 19 Aug 2011 01:35:22 -0400 Subject: Do batch logging on successful commands too, not just failures. This was an oversight for previous logging patch, ticket 1598 --- ipalib/plugins/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins') 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: -- cgit