[CalendarServer-changes] [11135] CalendarServer/trunk/txdav/base/datastore/subpostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Sat May 4 10:32:12 PDT 2013
Revision: 11135
http://trac.calendarserver.org//changeset/11135
Author: sagen at apple.com
Date: 2013-05-04 10:32:12 -0700 (Sat, 04 May 2013)
Log Message:
-----------
Log messages showing when pg_ctl starts and ends
Modified Paths:
--------------
CalendarServer/trunk/txdav/base/datastore/subpostgres.py
Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2013-05-04 03:44:16 UTC (rev 11134)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2013-05-04 17:32:12 UTC (rev 11135)
@@ -428,6 +428,7 @@
options.append("-c standard_conforming_strings=on")
options.extend(self.options)
+ log.warn("Requesting postgres start via %s" % (pgCtl,))
self.reactor.spawnProcess(
monitor, pgCtl,
[
@@ -445,6 +446,7 @@
)
self.monitor = monitor
def gotReady(result):
+ log.warn("%s successful" % (pgCtl,))
self.shouldStopDatabase = result
self.ready(*createConnection())
self.deactivateDelayedShutdown()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130504/137b09c8/attachment.html>
More information about the calendarserver-changes
mailing list