|
Note The information in this chapter applies to both UNIX workstations (Maps and SNA View) and Windows NT systems (SNA View). |
This chapter provides information on using the Message Log Viewer. The CiscoWorks Blue Message Log Viewer consists of a message log server and a message log client. The CiscoWorks Blue Process Manager automatically starts the message log server, which collects error messages from all the Maps and SNA View processes and stores them in the message log. You can view the messages from the Message Log viewer.
This chapter includes the following main sections:
Use the following information to start the Message Log.
Note The message log client displays messages only while they are being logged and the message log client is active. It does not display messages from the message logs themselves. To see any messages that were logged before you started the message log client, view the message log files as described in the "Viewing the Message Logs" section. |
You can view messages that meet the criteria defined for each view you create. A default view, called All, displays all the messages that are being logged. To define your own customized views, see the "Customizing a Message Log View" section.
Note Normally you should use the All view because the other views are temporary and are not saved when you exit the Message Log application. |
Step 2 Click the Log Display tab. The Log Display window is displayed.
Step 3 In the Log Display window, click the button for the view you want to see. Figure 8-3 shows only one view button, All. Click All to see all the logged messages. Click another view button, if available, to see the messages logged for that view.
The default view, named All, shows all messages being logged. You can use the New View window to create customized views showing data that meet specific criteria. For example, a view that shows messages from only a small set of applications or that displays only selected key message fields.
Note This New View is temporary and is removed when the Message Log Client exits. |
To customize message views, specify a set of criteria for selecting the messages you want to view and for determining how much information about each message you want to see.
For details about each field, see the "Using the Message Log New View Window" section.
Step 2 Click Log Display. The Log Display window is displayed.
Step 3 In the Log Display window, click New View. The New View Display window is displayed, as shown in Figure 8-2.
Step 4 In the Enter view name field, enter a name for this view. It should be short enough to fit on a view button.
Step 5 In the Specify filter for the log messages field, click Enable to enable filtering. Use the three following fields to create the message filter:
Step 6 In the Specify fields to be displayed field, select the message elements that you want displayed for each message.
Step 7 In the Allow automatic clearing of message display field, specify the maximum number of messages that can accumulate in the message log for this view before the log is purged and new messages are logged.
Step 8 In the Highlighting field, click Enable to enable highlighting of messages that meet specified criteria. All messages that meet the criteria will be displayed in the selected color. Use the following three fields to create the highlighting criteria:
Step 9 In the Color field, select the color to be used for highlighting.
Step 10 Click OK to save your changes. The message view appears as a button on the Log Display window.
After you define a series of message views, the Log Display window may become cluttered with view buttons. To remove some of the buttons, use the following procedure:
Step 2 Click the large X. The button for that view is deleted.
The Log Display window displays a list of the accumulated messages from one message view, as shown in Figure 8-3.
The Log Display window displays all the messages logged for the selected view.
Buttons
The Log Display window has buttons that provide the following functions:
Button
| Description
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Log Control window, as shown in Figure 8-4, displays a list of all currently running Maps and SNA View applications for which messages can be collected in the message log, and the message categories available for each application.
UNIX Workstations
On UNIX a workstation, you can change which message levels are logged by default for each process by editing the runprocess command script or by changing them in this window.
Editing the runprocess script is described in "Commands and Processes for UNIX Systems."
Note For HP systems only, the APPN, DLSw, RSRB, and PollerServer applications do not send messages to the Message Log server. Therefore, you cannot view messages from those applications in either the Message Log client or the message logs files. |
Windows NT
On a Windows NT system, edit the NT registry. For more information, see "Commands and Processes for Windows NT."
The Log Control window contains the following fields:
Field
| Description
|
---|---|
|
|
|
|
Buttons
The Log Control window has buttons that provide the following functions:
Button
| Description
|
---|---|
|
|
|
|
|
|
|
|
The Message Log New View window lets you add a new view for the message log, as shown in Figure 8-2. The default view, named All, shows all messages being logged. You can use the New View window to create customized views that show specific sets of data. For example, you might want to create a view that shows messages from only a small set of applications or that displays only selected key message fields.
Fields
The Message Log New View window contains the following fields:
Field
| Description
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Buttons
The New View window has buttons that provide the following functions:
Button
| Description
|
---|---|
|
|
|
|
UNIX Workstations
On a UNIX workstation, the CiscoWorks Blue messages are logged in message log files stored in the /opt/CSCOcb/logs directory. Each message log file name is in the format cwblogger.log.X, where X is either 0 or 1. Look at the time stamp to find the most recent log file. You can view these message log files with any editor or file browser (such as the more command). This file wraps at 10000 messages.
When the Message log server is stopped and restarted, it begins logging messages in the log file that contains the oldest messages.
Windows NT
On a Windows NT system, use the Administration application and select View History Logs to locate and view these logs.
You can view these message log files with any editor or file browser (such as the more command). In Windows NT, you can also view these message log files by selecting View > View Historical Log (0) or View > View Historical Log (1) in the CiscoWorks Blue SNA View Administration tool.
Posted: Mon Sep 4 10:52:02 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.