mercurial/chgserver.py
changeset 40846 25e9089c7686
parent 40843 eaabcb689747
child 40893 e7110f44ee2d
--- 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