[Zope3-checkins] CVS: Zope3/lib/python/Zope/StartUp - SiteDefinition.py:1.5
Jeremy Hylton
jeremy@zope.com
Tue, 8 Oct 2002 15:41:59 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/StartUp
In directory cvs.zope.org:/tmp/cvs-serv29675
Modified Files:
SiteDefinition.py
Log Message:
Open the log file with 'a'.
We don't want to delete the previous contents.
=== Zope3/lib/python/Zope/StartUp/SiteDefinition.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/StartUp/SiteDefinition.py:1.4 Sun Sep 1 14:29:58 2002
+++ Zope3/lib/python/Zope/StartUp/SiteDefinition.py Tue Oct 8 15:41:59 2002
@@ -86,7 +86,7 @@
if file in self._special_log_files.keys():
file = self._special_log_files[file]
else:
- file = open(file, 'w')
+ file = open(file, 'a')
zLOG._set_log_dest(file)
return []