[CalendarServer-changes] [11629] CalendarServer/trunk/conf/caldavd-apple.plist

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 22 10:11:33 PDT 2013


Revision: 11629
          http://trac.calendarserver.org//changeset/11629
Author:   sagen at apple.com
Date:     2013-08-22 10:11:33 -0700 (Thu, 22 Aug 2013)
Log Message:
-----------
Enable postgresql built-in log rotation

Modified Paths:
--------------
    CalendarServer/trunk/conf/caldavd-apple.plist

Modified: CalendarServer/trunk/conf/caldavd-apple.plist
===================================================================
--- CalendarServer/trunk/conf/caldavd-apple.plist	2013-08-21 21:34:07 UTC (rev 11628)
+++ CalendarServer/trunk/conf/caldavd-apple.plist	2013-08-22 17:11:33 UTC (rev 11629)
@@ -111,11 +111,18 @@
             <string>-c log_lock_waits=TRUE</string>
             <string>-c deadlock_timeout=10</string>
             <string>-c log_line_prefix='%m [%p] '</string>
+            <string>-c logging_collector=on</string>
+            <string>-c log_truncate_on_rotation=on</string>
+            <string>-c log_directory=/var/log/caldavd/postgresql</string>
+            <string>-c log_filename=postgresql_%w.log</string>
+            <string>-c log_rotation_age=1440</string>
         </array>
         <key>ExtraConnections</key>
         <integer>20</integer>
         <key>ClusterName</key>
         <string>cluster.pg</string>
+        <key>LogFile</key>
+        <string>xpg_ctl.log</string>
     </dict>
 
     <!-- Data root -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130822/102d520e/attachment.html>


More information about the calendarserver-changes mailing list