--- lib/python2.6/logging/handlers.py~ 2010-03-21 19:23:14.000000000 -0600 +++ lib/python2.6/logging/handlers.py 2011-01-19 10:08:20.000000000 -0700 @@ -114,6 +114,7 @@ """ self.stream.close() + self.stream = None if self.backupCount > 0: for i in range(self.backupCount - 1, 0, -1): sfn = "%s.%d" % (self.baseFilename, i) @@ -312,6 +313,7 @@ """ if self.stream: self.stream.close() + self.stream = None # get the time that this sequence started at and make it a TimeTuple t = self.rolloverAt - self.interval if self.utc: