Logs the request body
Hi, 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. Regards,
Hi Gaurav, --On December 1, 2014 at 1:02:17 PM -0800 Gaurav Jain <monkeyfdude@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
Thank you very much! On Mon, Dec 1, 2014 at 1:06 PM, Cyrus Daboo <cdaboo@apple.com> wrote:
Hi Gaurav,
--On December 1, 2014 at 1:02:17 PM -0800 Gaurav Jain < monkeyfdude@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
participants (2)
-
Cyrus Daboo
-
Gaurav Jain