From c39321d35c16e40d6a947a4a69f9efe597979867 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Aug 19 2011 06:54:22 +0000 Subject: Do batch logging on successful commands too, not just failures. This was an oversight for previous logging patch, ticket 1598 --- diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py index b95e5d0..72d7fe3 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: