[CalendarServer-users] Logs the request body

Gaurav Jain monkeyfdude at gmail.com
Mon Dec 1 13:08:12 PST 2014


Thank you very much!

On Mon, Dec 1, 2014 at 1:06 PM, Cyrus Daboo <cdaboo at apple.com> wrote:

> Hi Gaurav,
>
>
> --On December 1, 2014 at 1:02:17 PM -0800 Gaurav Jain <
> monkeyfdude at gmail.com> wrote:
>
>  is it possible to run server in a mode which outputs the request body in
>> the logs as well?
>>
>> For eg. I get following in logs
>>
>> REPORT /calendars/users/cdaboo/calendar/ HTTP/1.1
>>
>>
>> However, I want to see what is the request body.
>>
>
> Yes. In the test config file set the "AccountingCategories"/"HTTP" value
> to "<true/>" and restart the server. When that is on, the server will
> create an "accounting" directory in the "LogRoot" directory. That new
> directory will have an "HTTP" directory, and in there each request will be
> logged as a separate file.
>
> --
> Cyrus Daboo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20141201/1de9f7b6/attachment.html>


More information about the calendarserver-users mailing list