Capturing Logs in Reflection and InfoConnect Desktop

  • 7021466
  • 01-Nov-2011
  • 08-Aug-2019

Environment

Reflection Desktop
Reflection Desktop for IBM
Reflection Desktop Pro
Reflection Desktop for UNIX and OpenVMS
InfoConnect Desktop Pro for Unisys
InfoConnect Desktop for Unisys
InfoConnect Desktop Pro for Airlines
InfoConnect Desktop for Airlines
Reflection 2014
Reflection Pro 2014
Reflection for IBM 2014
Reflection for UNIX and OpenVMS 2014
Reflection Standard Suite 2011 R1 SP1 or higher
Reflection for IBM 2011 R1 SP1 or higher
Reflection for UNIX and OpenVMS 2011

Situation

This technical note describes how to enable the internal logging engine which can be helpful for troubleshooting problems such as loading errors.

Resolution

Enabling and Viewing Logs

To enable and view logging, follow these steps:

  1. Open the Reflection or InfoConnect Workspace and go to the Workspace Settings > Configure Workspace Attributes.
  2. Under Logging, check the box that says “Enable event logging” as shown below:
View Full Size
Figure 1: Enable Event Logging – Reflection Workspace
Figure 1: Enable Event Logging – Reflection Workspace
  1. Close the entire Workspace.

The next steps depend on which product you are using.

Reflection Desktop or InfoConnect Desktop Products

Beginning in version 16.0, the log is output as a text file.

  1. Re-open the Workspace and a host session. Perform the action you want to log.
  2. The log file called “workspace.log” will be automatically created and stored in the C:\Users\<username>\Documents\Micro Focus\Reflection\Logs folder by default. A text editor can be used to examine these files for detailed events.

Reflection 2014 or 2011 Products

In Reflection 2014 or 2011, information is output to the Windows event log.

  1. In the Reflection installation folder (typically C:\Program Files (x86)\Attachmate\Reflection), open the Attachmate.Emulation.Frame.exe.config file in a text editor (running as Administrator if on Windows 7 or later) and change the EventViewerLog value from 1 to 4.
...
  <system.diagnostics>
    <switches>
      <!--
        Trace Levels
         0 Off
         1 Error
         2 Warning
         3 Info
         4 Verbose
      -->
      <add name="EventViewerLog" value="4" />
    </switches>
  </system.diagnostics>
...

  1. Re-open the Reflection Workspace and a host session. Perform the action you want to log.
  2. In the Windows Start menu Search box, enter eventviewer to open the Windows Event Viewer.
  3. Under Applications and Services Logs, select Reflection Workspace to view the captured log entries.
View Full Size
Figure 2: Event Viewer – Reflection Workspace
Figure 2: Event Viewer – Reflection Workspace

Additional Information

To perform a host session trace or HLLAPI trace, see KB 7021506.

Legacy KB ID

This document was originally published as Attachmate Technical Note 2556.