Capturing Log Information

You can use OS 2200 menu option to perform the following tasks:

Viewing Logs

To view logs, click OS 2200 > View Log. The Log Viewer opens the unisys-ca.log file. The Log Viewer dynamically displays the contents of the unisys-ca.log file. The Log Viewer is a third-party plug-in available from the Eclipse market place: http://marketplace.eclipse.org/content/logviewer.

The following are the important features of the Log Viewer.

Loads the latest content from the unisys-ca.log file and appends the logs to the Viewer as and when the logs are written in the unisys-ca.log file. This option is selected by default and so is disabled.

Stops tailing the log file. Logs are not appended to the Viewer. Click to append the logs.

Note: Clicking   appends the logs from where it was last stopped.

Enables you to set rules in the Log Viewer.

Refreshes the current log file.

You can also view the contents of the log file using the Chainsaw application. Refer to the ClearPath Application Development Solutions ClearPath OS 2200 IDE for Eclipseâ„¢ Logging Plug-In Help for more information.

Note: When the unisys-ca.log file reaches the maximum rollback size (default is 5 MB), it creates a rollback file and creates a new log file. To fetch the latest contents of the log file, click Refresh ().

Saving Logs

To save logs, do the following:

  1. Click OS 2200 > Save Log.

The Save As dialog box appears.

  1. In the Save As dialog box, select a location to save the log and click OK.

    The log is saved as a text file. You can e-mail this text file to the Unisys Support group for troubleshooting purposes.

Setting Log Level

To set the level of a log message, do the following:

  1. Click OS 2200 > Set Log Level.

The Set Log Level dialog box appears.

  1. In the Set Log Level dialog box, select the required level from the Set Log Level list.

The following log levels are available:

  1. Click OK.

Note: As the user performs various actions in the editor, the log gets updated according to the chosen specification.