11 – Event Log Configuration
Clearing the Event Log
59183-02 A 11-5
A
11.3.3
Restore the Event Log Configuration
Enter the Set Log Restore command to return the event log configuration to the
factory default as shown in the following example:
SANbox (admin) #> set log restore
11.4
Clearing the Event Log
Enter the Set Log Clear command to delete all entries in the event log as shown in
the following example:
SANbox (admin) #> set log clear
11.5
Logging to a Remote Host
The switch comes from the factory with local logging enabled, which instructs the
switch firmware to maintain an event log in switch memory. The switch can also be
configured to log events to a remote host that supports the syslog protocol. This
requires that you enable remote logging on the switch and specify an IP address
for the remote host.
NOTE:
To log event messages on a remote host, you must edit the syslog.conf file
on the remote host and then restart the syslog daemon. The syslog.conf file
must contain an entry that specifies the name of the log file. Add the
following line to the syslog.conf file. A <tab> separates the selector field
(local0.info) and action field which contains the log file path name
(/var/adm/messages/messages.name).
local0.info <tab> /var/adm/messages/messages.name
Consult your host operating system documentation for information on how to
configure remote logging.