diff -r d23fd01cc115 -r 25e9089c7686 mercurial/chgserver.py --- a/mercurial/chgserver.py Sun Nov 18 19:47:04 2018 +0900 +++ b/mercurial/chgserver.py Sun Nov 18 19:55:53 2018 +0900 @@ -606,10 +606,11 @@ def shouldexit(self): if not self._issocketowner(): - self.ui.debug('%s is not owned, exiting.\n' % self._realaddress) + self.ui.log(b'chgserver', b'%s is not owned, exiting.\n', + self._realaddress) return True if time.time() - self._lastactive > self._idletimeout: - self.ui.debug('being idle too long. exiting.\n') + self.ui.log(b'chgserver', b'being idle too long. exiting.\n') return True return False