[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Clean up logs a little more



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv12612/lib/mixminion

Modified Files:
	ServerInfo.py TLSConnection.py 
Log Message:
Clean up logs a little more

Index: ServerInfo.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ServerInfo.py,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- ServerInfo.py	2 Feb 2004 07:05:49 -0000	1.79
+++ ServerInfo.py	2 Feb 2004 07:19:47 -0000	1.80
@@ -71,7 +71,7 @@
     if nickname is None:
         nickname = ""
     else:
-        nickname = " ('%s'?)" % nickname
+        nickname = " (%s?)" % nickname
     return "server at %s:%s%s" %(ip, port, nickname)
 
 def getNicknameByKeyID(keyid):

Index: TLSConnection.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/TLSConnection.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- TLSConnection.py	22 Jan 2004 09:47:34 -0000	1.7
+++ TLSConnection.py	2 Feb 2004 07:19:47 -0000	1.8
@@ -277,7 +277,7 @@
                 while s != 0:
                     s = self.tls.read(_READLEN) # might raise TLSWant*
                     if s == 0:
-                        LOG.debug("read returned 0; shutdown to %s done",
+                        LOG.debug("Read returned 0; shutdown to %s done",
                                   self.address)
                     else:
                         self.__bytesReadOnShutdown += len(s)
@@ -368,7 +368,7 @@
                 if s == 0:
                     # The other side sent us a shutdown; we'll shutdown too.
                     self.receivedShutdown()
-                    LOG.debug("read returned 0: shutting down connection to %s"
+                    LOG.trace("read returned 0: shutting down connection to %s"
                               , self.address)
                     self.startShutdown()
                     return