[CalendarServer-users] Connection aborted - took too long to close

Andre LaBranche dre at apple.com
Thu Feb 5 18:28:40 PST 2015


> On Feb 5, 2015, at 5:33 PM, Andre LaBranche <dre at apple.com> wrote:
> 
> I will swing back with further instructions on enabling this.


To enable 'accounting' logs for Calendar Server, edit caldavd.plist to add target principals whose activity should be logged, e.g.:

    <!-- Enable accounting for certain operations -->
    <key>AccountingCategories</key>
    <dict>
      <key>iTIP</key>
      <false/>
      <key>HTTP</key>
      <true/>
    </dict>

    <!-- Enable accounting for specific principals -->
    <key>AccountingPrincipals</key>
    <array>
      <string>/principals/__uids__/454D85C0-09F0-4DC6-A3C6-97DFEB4622CD/</string>
    </array>

Once the change is made, HUP the master process or restart the service. The logs are written to an 'accounting' directory adjacent to the other logs.

AccountingPrincipals is an array, so you can list as many principals here as you like.



-dre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20150205/a144d9a3/attachment.html>


More information about the calendarserver-users mailing list