D3 Visualization System and Event Logging
The D3 Visualization extension module allows you to log events such as exceptions, data processing, and warnings related to the processing of the graphical control(s).
You can view all the events, or you can enable the events you want to monitor by setting the associated entries to True (enabled) or False (disabled):
- Error Logging – (
TurnOnErrorTrace
) – Logs exceptions in the code. - Information Logging – (
TurnOnInfoTrace
) - Logs debugging alerts, call-backs, data processing events, etc. - Warning Logging – (
TurnOnWarning Trace
) – Logs formatting issues in the code, etc.
The log can be viewed in either the Trace Viewer (AFWLogger) or the default web browser (BrowserLogger).
Customized logging can also be specified.
Logging in the Trace Viewer
The Trace Viewer is a troubleshooting tool, which displays and tracks issues encountered during operations and engineering. If you choose to display dashboard logging in the Trace Viewer, the entries are logged in the Traces tab as coming from the WebViewerTrace module.
By default, Trace Viewer records activity in a log file stored in the C:\GMSProjects\ [customer-created folder name during installation]\Log folder. You can also create your own log file and specify that system activity be logged to it instead. Trace Viewer consists of two tabs.
For more information on the Trace Viewer application, see the respective Help section.
Logging in the Browser
Logging entries sent to the web browser are visible by clicking on the Console tab. Warning messages display with a caution symbol preceding them, and error messages display red.