Enabling and disabling remote diagnostic logging for the HTTP/TCP proxy
To facilitate troubleshooting, HCL Quality Server administrators can view, download, and share detailed log events information for the HTTP/TCP proxy. The capability to display this information in HCL Quality Server requires enabling remote diagnostic logging for the proxy.
About this task
HCL Quality Server can display a diagnostic log that is a centralized view of log events of HCL OneTest™ API proxies.
By default, remote diagnostic logging to HCL Quality Server is not enabled in HCL OneTest™ API Agent or in the proxies supplied with HCL Quality Server.
Depending on the operating system of the computer upon which the HTTP/TCP proxy is installed,
there are two ways to enable or disable remote diagnostic logging to HCL Quality Server for the
HTTP/TCP proxy:
- If you are using Unix-like systems, or Microsoft™
Windows™, you can modify the startup file of the proxy,
which is located in
<HCL Quality Server installation directory>\httptcp
. - If you are using Microsoft™
Windows™, you also have the option to enable or disable
remote diagnostic logging for the HTTP/TCP proxy by modifying the
HCL OneTest™ API
HTTP/TCP Proxy
Windows™ service.Note: This Windows™ service is installed if you selected the Install Service and Start on Boot options for the HTTP/TCP proxy while installing HCL Quality Server. By default, those settings are selected in IBM® Installation Manager,
Procedure
-
To modify the startup file of the HTTP/TCP proxy, perform the following tasks:
-
Alternatively, if you are using Microsoft™
Windows™, you can enable remote diagnostic logging for the
HTTP/TCP proxy by modifying the
HCL OneTest™ API
HTTP/TCP Proxy
Windows™ service as follows:
Results
If you are using Microsoft™
Windows™, HTTP/TCP proxy log files are stored in specific
locations as shown in the following table:
Log type | Default location |
---|---|
Process | C:\Users\<User name>\ghproxy |
Service | C:\Windows\System32\config\systemprofile\ghproxy |
Note: The locations of the log files depend on settings in the
logging.properties
file in <HCL Quality Server
installation directory>\httptcp
.