[Zodb-checkins] CVS: ZODB3/zLOG - LogHandlers.py:1.4

Fred L. Drake, Jr. fred@zope.com
Fri, 10 Jan 2003 13:26:09 -0500


Update of /cvs-repository/ZODB3/zLOG
In directory cvs.zope.org:/tmp/cvs-serv3113

Modified Files:
	LogHandlers.py 
Log Message:
The log file mode should be "a", not "a+".


=== ZODB3/zLOG/LogHandlers.py 1.3 => 1.4 ===
--- ZODB3/zLOG/LogHandlers.py:1.3	Fri Dec  6 12:07:37 2002
+++ ZODB3/zLOG/LogHandlers.py	Fri Jan 10 13:26:06 2003
@@ -22,7 +22,7 @@
     A file handler which allows for reopening of logs in favor of the
     'rollover' features of the standard PEP282 FileHandler.
     """
-    def __init__(self, filename, mode="a+"):
+    def __init__(self, filename, mode="a"):
         StreamHandler.__init__(self, open(filename, mode))
         self.baseFilename = filename
         self.mode = mode