Product manual

logging
OVERVIEW
Switch ManagementCategory:
configPrimary context:
log (page 338)Related Commands
show logging (page 486)
Usage: [no] logging <IP-ADDR>
[no] logging facility <facility>
[no] logging severity <severity>
[no] logging system-module <module>
Description: Add an IP address to the list of receiving syslog servers.
Use of 'no' without an IP address specied will remove all
IP addresses from the list of syslog receivers. If an IP
address is specied, that receiver will be removed.
- Specify syslog server facility with <facility>. 'no
logging facility <facility>' sets facility back to defaults.
- Specify severity for event messages to be ltered to the
syslog server with <severity>. 'no logging severity
<severity>' sets severity back to default.
- Event messages of specied system module will be sent to
the syslog server. 'no' sends messages from all system
modules. Messages are 1st ltered by selected severity.
NOTES
Maximum Number of Entries
Starting in software release K.13.xx, the maximum number of entries supported in the Event
Log is increased from 1000 to 2000 entries. Entries are listed in chronological order, from the
oldest to the most recent. Once the log has received 2000 entries, it discards the oldest
message each time a new message is received. The Event Log window contains 14 log entry
lines. You can scroll through it to view any part of the log.
COMMAND STRUCTURE
[no] logging facility < kern | user | mail | ... > -- Specify the syslog facility value that will be used
for all syslog servers (p. 341)
[no] logging ip-address -- Add an IP address to the list of receiving syslog servers (IP-ADDR) (p.
341)
[no] logging severity < major | error | warning | ... > -- Event messages of the specified severity
or higher will be sent to the syslog server (p. 342)
[no] logging system-module < all-pass | vlan | ip | ... > -- Event messages of the specified system
module (subsystem) will be sent to the syslog server (p. 342)
COMMAND DETAILS
severity (p. 342)facility (p. 341)
system-module (p. 342)ip-address (p. 341)
340© 2008 Hewlett-Packard Development Company, L.P.