logging
logging [ap-debug|arm|arm-user-debug|facility|network|peer-debug|security|system|user|user-debug|wireless|
Description
Use this command to specify the IP address of the remote logging server, facility, severity, and the type. The local use facilities (local0, local1, local2, local3, local4, local5, local6, and local7) are not reserved for specific message-generating sources, and can be used for sending syslog messages. Use theshow loggingcommand to verify that the device sends logging messages.
There are eight logging severity levels, each with its associated types of messages. Each level also includes the levels below it. For example, if you set the logging level to informational (6), all messages from level 0 through level 5 (from emergencies through notifications) are also logged. The warnings severity level is set by default for all message categories.
Only the
and subcategories are enabled by default. Other subcategories are not generated by default even their severity is or higher.Parameter |
Description |
ap-debug |
AP troubleshooting messages. You must specify a debug value. |
arm |
ARM messages. |
arm-user-debug |
手臂用户故障诊断消息。你必须specify a MAC address. |
facility |
Set the facility to be used when logging to the remote syslog server. The local use facilities (local0, local1, local2, local3, local4, local5, local6, and local7) are not reserved for specific message-generating sources, and can be used for sending syslog messages. local 0 to local 7 |
network |
Network messages. |
peer-debug |
Peer Debug Logs. |
security |
Security messages. |
system |
System messages. |
user |
User messages. |
user-debug |
User troubleshooting messages. You must specify a MAC address. |
wireless |
Wireless messages. |
To set the remote logging server IPv4 address. A.B.C.D |
|
facility |
The facility to be used when logging to a remote syslog server. local 0 to local 7 |
format |
日志的格式when logging to a remote syslog server.
|
severity |
Set the remote logging server severity to:
|
type |
Set the remote logging server message type to:
|
To set the remote logging server IPv6 address. X:X:X:X::X |
|
facility |
The facility to be used when logging to a remote syslog server. local 0 to local 7 |
format |
日志的格式when logging to a remote syslog server.
|
severity |
Set the remote logging server severity to:
|
source-interface |
Select source address of outgoing syslog messages. |
tls |
Enable TLS option for rsyslog. |
type |
Set the remote logging server message type to:
|
The message severity level, which can be one of the following (in order of severity level):
|
|
process |
Controllerprocess, which can be one of the following:
|
subcat |
Message subcategory, which depends upon the message category specified. The following lists the subcategories available for each message category:
|
Example
The following command adds the remote logging server with the IP address 10.1.2.3 with a user log type using local4.
(host) [mynode] (config) #logging 10.1.2.3 facility local4
Command History
Release |
Modification |
ArubaOS8.9.0.0 |
The |
ArubaOS8.7.0.0 |
The peer-debug parameter was introduced. |
ArubaOS8.2.0.0 |
New system processes called and were added to debug issues related to the vrrp process and lagm process. |
ArubaOS8.1.0.0 |
The was moved to the end of the command string.The |
ArubaOS8.0.0.0 |
Command introduced. |
Command Information
Platforms |
License |
Command Mode |
Available on all platforms |
Base operating system. |
Config mode onMobility Conductor. |