[CalendarServer-dev] propfind request/response logging

Andre LaBranche dre at apple.com
Thu Nov 19 11:16:05 PST 2015


Yes, the relevant caldavd.plist config snippets are:

    <!-- Enable accounting for certain operations -->
      <key>Implicit Errors</key>

    <!-- Enable accounting for specific principal GUIDs or use "*" for all  -->
      <!-- <string>454D85C0-09F0-4DC6-A3C6-97DFEB4622CD</string> -->

Change HTTP to <true/> and bounce the server. A new directory will appear in LogRoot (i.e. adjacent to the other calendar server log files) called 'accounting' - look there for the data you seek.

If you only want to log requests for certain principals, specify their GUIDs in AccountingPrincipals.

DO NOT LEAVE THIS LOGGING ENABLED INDEFINITELY unless you also configure some mechanism for managing the log history. If left unchecked with an active service, it will fill your disk.


> On Nov 19, 2015, at 8:36 AM, Lucian Szantho <lucian.szantho at gmail.com> wrote:
> Hi, I have setup CalendarServer 7 and I would like to take a look at the PROPFIND request/response payloads. Is there any way to enable such logging?
> Thanks,
> /Lucian
> _______________________________________________
> calendarserver-dev mailing list
> calendarserver-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20151119/999da3e0/attachment.html>

More information about the calendarserver-dev mailing list