Sp switch router logs, Accessing a log file, Sp switch router logs -30 – Lucent Technologies 9077 16S User Manual
Page 106: Accessing a log file -30

3-30
October 22, 1999
SP Switch Router Adapter Guide - 1.4 Update 2
Monitoring and Management Tools
SP Switch Router logs
SP Switch Router logs
This section provides examples of logged information for the SP Switch Router and the SP
Switch Router Adapter media card.
When so configured, the SP Switch Router logs to a PCMCIA 520MB disk rather than to its
own system memory. The procedure to configure the PCMCIA disk is in Chapter 2.
On the SP Switch Router, output from logs and other system reporting functions refer to the SP
Switch Router Adapter card as
DEV1_v1
or
dev1
. Logs are maintained in the directory
/var/log
.
Appendix B contains a list of log messages that are sent by the SP Switch Router Adapter card
to system logs, usually to the
/var/log/gr.console
file.
Three logs provide specific information useful for monitoring and debugging the SP Switch
Router and SP Switch Router Adapter card operations. If you are working with Customer
Support, these are the three logs they will need to see:
–
/var/log/gr.console
–
/var/log/messages
–
/var/log/gr.boot
The
/var/log
directory contains other log files that collect low-level information useful
primarily to system developers.
The
gr.console
log is the most useful log. It contains status and events for the SP Switch
Router system and all media cards, including the SP Switch Router Adapter card. When a
media card resets, many events of the resetting are reported, including initializing, loading
run-time code, requesting and reading configuration parameters, and so on. At the end, you see
a message that indicates the cause of the reset.
The
messages
log contains system-related events connected usually with the management
software (also referred to as RMS, Router Management System) and the operating system
kernel.
The
gr.boot
log contains events reported during system and media card boot. These can be
helpful if a card has problems booting and coming up.
Accessing a log file
Change directories to
/log
and use the more command to display the contents of a specific log
file. To access the grconsole log, use this sequence of commands:
# cd /var
# cd log
# more gr.console