4.2 Configuring Logging of HTTP Headers

4.2.1 Configuring Logging Headers in Request from Client to Proxy

To configure logging headers in requests from client to proxy, proxy to webserver and response from webserver to proxy, follow the below steps:

  1. In the Administration Console, click Devices > Access Gateways > Edit > Advanced Options

  2. Add the following line:

    DumpHeaders <on|off>

    Setting the DumpHeaders to on ensures that the proxy logs headers to the /var/opt/novell/nam/logs/mag/apache2/error_log file for linux and \ProgramFiles\Novell\Apache\logs\error.log for Windows.

    NOTE:(Optional) For the Access Gateway Appliance, add the line DumpHeadersFacility local6 in addition to the DumpHeaders on option in Advanced Options. The headers will be logged in /var/opt/novell/nam/logs/mag/apache2/httpheaders.

    If you have configured the ErrorLog option, the logs are stored in the specified file.

  3. Click OK.

  4. Click the Access Gateways link, then click Update > OK.

4.2.2 Configuring Logging Headers in Response from Proxy to Client

  1. In the Administration Console, click Devices > Access Gateways > Edit > Advanced Options

  2. Add the following line:

    DumpResponseHeaders <on|off>

    Setting the DumpHeaders to on ensures that the proxy logs headers to the /var/opt/novell/nam/logs/mag/apache2/error_log file for linux and \ProgramFiles\Novell\Apache\logs\error.log for Windows.

    If you have configured the ErrorLog option, the logs are stored in the specified file.

  3. Click OK.

  4. Click on Access Gateways link, then click Update > OK.