HP Remote Graphics Software 5.4.0 User Guide

9.2 Usages of the HPRemote log
The HPRemote log has several important usages:
Troubleshooting—The HPRemote log can be used to aid troubleshooting of connection issues
between the RGS Sender and Receiver. If you’re unable to view the HPRemote log because of
RGS connection difficulties, Microsoft Remote Desktop can be used to connect to the Remote
Computer to view the HPRemote log.
Automatic Remote Application Termination—Network outages or loss of connectivity
between a Remote and Local Computer can leave a remote desktop session running without
supervision. To prevent applications from running unattended, a customer-designed agent can use
the HPRemote log to monitor the status of connections to determine if application termination is
required. If so, the agent would be designed to take the appropriate action to terminate the
application.
The Chapter
Remote Application Termination on page 186 , describes how to create an agent
that uses the HPRemote log to automatically monitor the connection between the Remote and Local
Computers—and then take whatever action you require. Sample code is provided to facilitate
creation of the agent.
Other automated actions—The basic principle behind using the HPRemote log to perform
automatic Remote Application Termination can be used to create an agent to automatically
monitor and process any of the events logged by the RGS Sender. The Section,
HPRemote log
format on page 186 , lists the events logged by the RGS Sender, and describes their format.
Using the sample code provided, you can create an agent to automatically monitor and process
any Sender events.
184 Chapter 9 Sender event logging on Windows ENWW