[CalendarServer-changes] [15688] twext/trunk/twext/python/usage.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 21 14:55:03 PDT 2016


Revision: 15688
          http://trac.calendarserver.org//changeset/15688
Author:   wsanchez at apple.com
Date:     2016-06-21 14:55:03 -0700 (Tue, 21 Jun 2016)
Log Message:
-----------
append to log, don't start anew

Modified Paths:
--------------
    twext/trunk/twext/python/usage.py

Modified: twext/trunk/twext/python/usage.py
===================================================================
--- twext/trunk/twext/python/usage.py	2016-06-21 19:54:06 UTC (rev 15687)
+++ twext/trunk/twext/python/usage.py	2016-06-21 21:55:03 UTC (rev 15688)
@@ -200,7 +200,7 @@
             return
 
         try:
-            self["logFile"] = open(fileName, "w")
+            self["logFile"] = open(fileName, "a")
             self.setdefault("fileLogObserverFactory", jsonFileLogObserver)
         except EnvironmentError as e:
             exit(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160621/a6dd2962/attachment.html>


More information about the calendarserver-changes mailing list