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:
1 parent
4a72593893
commit
d67b60079f
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user