|
|
|
|
Logging and tracing are valuable diagnostic tools that provide you and your support team with useful information for solving SNAP-IX problems. This chapter describes how to perform logging and tracing using either the Motif administration program or the command-line administration program (refer to the SNAP-IX Administration Command Reference for complete descriptions of the commands).
Samples of logging messages and tracing output are also provided.
The easiest way to control logging of events for SNAP-IX is to use the Motif administration program (xsnaadmin). This program provides a graphical user interface from which you can perform diagnostic tasks, such as selecting the type of logging for your system, as well as the message types to log.
To start the Motif administration program, complete the following steps:
Type xsnaadmin at the command line and press Enter. The main window is displayed.
Select the Diagnostics menu.
You can also select the Diagnostics
menu from the node window.Note
Select Logging .
The Logging dialog is displayed, which enables you to control the following logging activities:
If you want a central error log for all servers and clients, choose Central logging. If you want logs to be made locally at each machine, choose Local logging. You can choose central or local logging only when the Motif administration program is in contact with a master server because central logging is performed by the master.
Select this option to instruct the system to log all exception events. If you make this selection, you will be prompted to select verbose or succinct logging. When you have done this, click OK.
This selection affects all machines in the domain (unless they have local overrides configured using the command-line administration program).
Select this option to instruct the system to log all audit events. If you make this selection, you will be prompted to select verbose or succinct logging. When you have done this, click OK.
This selection affects all machines in the domain (unless they have local overrides configured using the command-line administration program).
The SNAP-IX Motif administration program only sets the global log settings. Local log settings override the global settings and can be configured on a particular machine using the command-line administration program.
|
|
|
|
|