To configure logging headers in requests from client to proxy, proxy to web server and response from web server to proxy, perform the following steps:
Click Devices > Access Gateways > Edit > Advanced Options
Add the following lines:
DumpHeaders <on|off>
DumpHeadersFacility user
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 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.
Click OK.
Click Access Gateways > Update > OK.
Click Devices > Access Gateways > Edit > Advanced Options.
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.
Click OK.
Click Access Gateways > Update > OK.