views:

19

answers:

1

What is the best way to log the contents of anything POSTed to a WCF Data Service? I have tried using the service trace viewer but only see WebHeaders?

Thanks

A: 

Make sure you configure the logging parameters correctly. You need to set the logEntireMessages attribute to true in the trace parameters.

Johann Blais
Thanks for the reply but I had that set. In the contents of the service trace viewer I only see "</HttpRequest>... stream ...</MessageLogTraceRecord>" where I would expect to see the message contents.
Jon Archway