Errors and Logs: Capturing Web Request Details

By default, the following web request details are masked as they can contain sensitive data:

  • Headers
  • Post Data
  • Server Variables
  • Session Variables
  • Cookies

However, you can configure your app to unmask this in your app’s config file. Stackify will then retrieve information about these fields and list it in the Error Details page or in the “View Document”  view for an error in your apps. To enable this, you will want to add the following keys into the appSettings section of your App/Web.config:

    <add key="Stackify.CaptureErrorHeaders" value="true" />
    <add key="Stackify.CaptureErrorPostdata" value="true" />
    <add key="Stackify.CaptureServerVariables" value="true" />
    <add key="Stackify.CaptureSessionVariables" value="true" />
    <add key="Stackify.CaptureErrorCookies" value="true" />

The following details can be configured for Java apps too. To learn how to get Web Request details for your Java Apps, see the article titled Java Servlet Filters.