[CalendarServer-changes] [14500] CalendarServer/trunk/txdav/base/datastore/subpostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 3 16:46:44 PST 2015
Revision: 14500
http://trac.calendarserver.org//changeset/14500
Author: wsanchez at apple.com
Date: 2015-03-03 16:46:44 -0800 (Tue, 03 Mar 2015)
Log Message:
-----------
More logging cleanup
Modified Paths:
--------------
CalendarServer/trunk/txdav/base/datastore/subpostgres.py
Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2015-03-04 00:43:11 UTC (rev 14499)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2015-03-04 00:46:44 UTC (rev 14500)
@@ -94,8 +94,8 @@
def processEnded(self, reason):
- log.info(
- "postgres process ended with status {status}",
+ self.log.info(
+ "pg_ctl process ended with status={status}",
status=reason.value.status
)
# If pg_ctl exited with zero, we were successful in starting postgres
@@ -105,7 +105,7 @@
if reason.value.status == 0:
self.completionDeferred.callback(None)
else:
- log.error("Could not start postgres; see postgres.log")
+ self.log.error("Could not start postgres; see postgres.log")
self.completionDeferred.errback(reason)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150303/28562d34/attachment.html>
More information about the calendarserver-changes
mailing list