Configuring logging – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual
Page 58

46
Brocade Virtual ADX Administration Guide
53-1003249-01
Using Syslog
1
Configuring logging
You can enable or disable logging, configure the size of the local log buffer, and specify a Syslog
server, by entering the logging command.
To disable logging of SNMP traps to a locally saved event log, enter the following command.
Virtual ADX(config)#no logging on
To re-enable logging, enter the following command.
Virtual ADX(config)#logging on
By default, a message is logged whenever a user logs into or out of the CLI User EXEC or Privileged
EXEC mode. To disable logging of users’ CLI access, enter the following command.
Virtual ADX(config)#no logging enable user-login
To specify two third-party Syslog servers to receive Syslog messages in addition to the device’s local
Syslog buffer, enter the following commands.
Virtual ADX(config)#logging 10.0.0.99
Virtual ADX(config)#logging 10.157.23.69
To change the logging facility from the default facility user to local7, enter the following command.
Virtual ADX(config)#logging facility local7
To disable logging of debugging and informational messages, enter the following commands.
Virtual ADX(config)#no logging buffered debugging
Virtual ADX(config)#no logging buffered informational
Syntax: [no] logging on I enable I ip-addr I facility value I buffered level I console
The level variable can be alerts, critical, debugging, emergencies, errors, informational,
notifications, or warnings. All message levels are enabled by default. You can disable message
levels individually. The num-entries can be 1 – 100. All message levels are logged by default. The
default local buffer capacity is 50 entries
Possible facility values include:
•
kern – kernel messages
•
user – random user-level messages (default)
•
mail – mail system
•
daemon – system daemons
•
auth – security or authorization messages
•
syslog – messages generated internally by Syslog
•
lpr – line printer subsystem
•
news – netnews subsystem
•
uucp – uucp subsystem
•
sys9 – cron or at subsystem
•
sys10 – reserved for system use
•
sys11 – reserved for system use
•
sys12 – reserved for system use
•
sys13 – reserved for system use