mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do batch logging on successful commands too, not just failures.
This was an oversight for previous logging patch, ticket 1598
This commit is contained in:
parent
9363260ca0
commit
c39321d35c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user