[Checkins] SVN: ZConfig/branches/LP-481512-reopen-logs/ZConfig/components/logger/loghandler.py Revert solution, not good.

Gary Poster gary.poster at canonical.com
Thu Jul 28 08:27:18 EDT 2011


Log message for revision 122389:
  Revert solution, not good.

Changed:
  U   ZConfig/branches/LP-481512-reopen-logs/ZConfig/components/logger/loghandler.py

-=-
Modified: ZConfig/branches/LP-481512-reopen-logs/ZConfig/components/logger/loghandler.py
===================================================================
--- ZConfig/branches/LP-481512-reopen-logs/ZConfig/components/logger/loghandler.py	2011-07-28 12:27:16 UTC (rev 122388)
+++ ZConfig/branches/LP-481512-reopen-logs/ZConfig/components/logger/loghandler.py	2011-07-28 12:27:18 UTC (rev 122389)
@@ -84,8 +84,7 @@
         _remove_from_reopenable(self._wr)
 
     def reopen(self):
-        # Do not close old stream to allow other process to finish logging
-        # to them. The Python GC will take care of the closing.
+        self.stream.close()
         self.stream = open(self.baseFilename, self.mode)
 
 



More information about the checkins mailing list