I need to log the request post payload for requests made to IIS. Is this possible to configure the logging of request post payloads with the existing logging and advanced logging modules within IIS 7.5 or can anybody direct me to any custom modules that will allow me to log the post payload.
In IIS Manager, open the Advanced Logging feature. Click the server in the Connections pane, and then double-click the Advanced Logging icon on the Home page. Enable the Advanced Logging feature. In the Actions pane, click Enable Advanced Logging.
IIS log files are stored by default in the %SystemDrive%\inetpub\logs\LogFiles folder of your IIS server. The folder is configured in the Directory property on the Logging page for either the server or an individual site.
It can actually be done, according to https://serverfault.com/a/90965
The IIS logs only record querystring and header information without any POST data.
If you're using IIS7, you can enabled Failed Request Tracing for status code 200. That will record all of the data and you can select which type of data to include.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With