transaction Logs consume resources in the WCG domain. Always consider to turn them on for troubleshooting purposes and turn them off afterwards.
In order to enable the transaction logs in the WCG:
- Click Configure > Subsystem > Logging.
- Select Log Transactions and Errors under the Logging section.
- Click Apply.
In order to access the transaction logs:
- Click Configure > My Proxy > Logs.
- Click the Access tab.
- Select the log file desired like extended.log as an example.
In order to understand the logging format please read the meaning of each field:
|1||The IP address of the client’s host machine.|
|2||This hyphen (-) is always present in Netscape log entries.|
|3||The authenticated client user name. A hyphen (-) means no authentication was required.|
|4||The date and time of the client’s request, enclosed in brackets.|
|5||The request line, enclosed in quotes.|
|6||The proxy response status code (HTTP reply code).|
|7||The length of the Content Gateway response to the client in bytes.|
|8||The origin server’s response status code.|
|9||The server response transfer length; the body length in the origin server’s response to the proxy, in bytes.|
|10||The client request transfer length; the body length in the client’s request to the proxy, in bytes.|
|11||The proxy request transfer length; the body length in the proxy request to the origin server.|
|12||The client request header length; the header length in the client’s request to the proxy.|
|13||The proxy response header length; the header length in the proxy response to the client.|
|14||The proxy request header length; the header length in the proxy request to the origin server.|
|15||The server response header length; the header length in the origin server’s response to the proxy.|
|16||The time Content Gateway spent processing the client request; the number of seconds between the time that the client established the connection with the proxy and the time that the proxy sent the last byte of the response back to the client.|
There are several types of transaction logs configurable in the WCG. By default the WCG uses the "Netscape Extended Logs" (hence the name extended.log).
It's possible to configure other types of transaction logs under Configure > Subsystem > Logging
in the Format tab.
Further informations about WCG Logging can be found in the WCG Help pages:https://X.X.X.X:8081/help/en/wwhelp/wwhimpl/js/html/wwhelp.htm#href=c_log.htmhttps://X.X.X.X:8081/help/en/wwhelp/wwhimpl/js/html/wwhelp.htm#href=log_samples.htm
is the WCG address (or the C interface address in case of Appliances).