From d67b60079ff99e8706893886e216aaf2b5ea0709 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 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: -- cgit