diff options
author | Aravinda VK <avishwan@redhat.com> | 2017-12-28 15:17:34 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2017-12-28 14:49:49 +0000 |
commit | ab3664210420e45568e938d87d0d522521cefd47 (patch) | |
tree | d87089bce7bb766caa63694b51f908aec5507a9f /geo-replication/syncdaemon/master.py | |
parent | 33c39e5dce3bc941d8e26c98d91f8ddab9505b73 (diff) |
geo-rep: Log message improvements
BUG: 1529480
Change-Id: If4775ed9886990c0e1bcf4e44c7dfef95cc4f0c3
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
-rw-r--r-- | geo-replication/syncdaemon/master.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index 89e57b42a37..d0ffffc1f01 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -1660,8 +1660,8 @@ class GMasterXsyncMixin(GMasterChangelogMixin): if isinstance(xtr_root, int): if xtr_root != ENOENT: logging.warn(lf("slave cluster not returning the " - "correct xtime for root", - xtime=xtr_root)) + "xtime for root", + error=xtr_root)) xtr_root = self.minus_infinity xtl = self.xtime(path) if isinstance(xtl, int): @@ -1670,9 +1670,9 @@ class GMasterXsyncMixin(GMasterChangelogMixin): if isinstance(xtr, int): if xtr != ENOENT: logging.warn(lf("slave cluster not returning the " - "correct xtime", + "xtime for dir", path=path, - xtime=xtr)) + error=xtr)) xtr = self.minus_infinity xtr = max(xtr, xtr_root) zero_zero = (0, 0) |