[CalendarServer-changes] [8250] CalendarServer/branches/users/glyph/parallel-sim/contrib/performance /loadtest/ampsim.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 1 17:52:44 PDT 2011
Revision: 8250
http://trac.macosforge.org/projects/calendarserver/changeset/8250
Author: glyph at apple.com
Date: 2011-11-01 17:52:44 -0700 (Tue, 01 Nov 2011)
Log Message:
-----------
remove debug prints now that it's shutting down properly; log messages can go to the master process via stderr
Modified Paths:
--------------
CalendarServer/branches/users/glyph/parallel-sim/contrib/performance/loadtest/ampsim.py
Modified: CalendarServer/branches/users/glyph/parallel-sim/contrib/performance/loadtest/ampsim.py
===================================================================
--- CalendarServer/branches/users/glyph/parallel-sim/contrib/performance/loadtest/ampsim.py 2011-11-02 00:52:29 UTC (rev 8249)
+++ CalendarServer/branches/users/glyph/parallel-sim/contrib/performance/loadtest/ampsim.py 2011-11-02 00:52:44 UTC (rev 8250)
@@ -26,11 +26,9 @@
import traceback
try:
from twisted.python.log import startLogging
- from os import getpid
- from sys import exit#, stderr
+ from sys import exit, stderr
- #startLogging(stderr)
- startLogging(file("ampsim-{0:d}.log".format(getpid()), "wb"))
+ startLogging(stderr)
from twisted.internet import reactor
from twisted.internet.stdio import StandardIO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111101/25478711/attachment.html>
More information about the calendarserver-changes
mailing list