Merge "log return value before arguments when rsync error"
This commit is contained in:
commit
a11ecc35b7
@ -112,7 +112,7 @@ class ObjectReplicator(Daemon):
|
|||||||
else:
|
else:
|
||||||
self.logger.error(result)
|
self.logger.error(result)
|
||||||
if ret_val:
|
if ret_val:
|
||||||
self.logger.error(_('Bad rsync return code: %(args)s -> %(ret)d'),
|
self.logger.error(_('Bad rsync return code: %(ret)d <- %(args)s'),
|
||||||
{'args': str(args), 'ret': ret_val})
|
{'args': str(args), 'ret': ret_val})
|
||||||
elif results:
|
elif results:
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
|
Loading…
Reference in New Issue
Block a user