Specifications
3-314
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
(config) logging
Defaults Logging: on
Priority of message for console: warning
Priority of message for disk log file: debug
Priority of message for a host: warning
Log file: /local1/syslog.txt
Log file recycle size: 10,000,000 bytes
Command Modes global configuration
Device Modes application-accelerator
central-manager
Usage Guidelines Use the logging command to set specific parameters of the system log file. System logging is always
enabled internally. By default, system logging is enabled on a WAAS device. The system log file is
located on the SYSFS partition at /local1/syslog.txt. This file contains authentication entries, privilege
levels, and administrative details.
WAAS supports filtering multiple syslog messages for a single failed section on SCSI disks and SATA
disks.
To configure the WAAS device to send varying levels of event messages to an external syslog host, use
the logging
host option. Logging can be configured to send various levels of messages to the console
using the logging console priority option.
The no logging disk recycle size command sets the file size to the default value. Whenever the current
log file size surpasses the recycle size, the log file is rotated. The log file cycles through at most five
rotations, and they are saved as [log file name].[1-5] under the same directory as the original log. The
rotated log file is the one configured using the logging disk filename command.
Configuring System Logging to Remote Syslog Hosts
You can configure a WAAS device to send varying levels of messages to up to four remote syslog hosts.
Use the logging host hostname global configuration command as follows:
WAE(config)# [no] logging host
hostname
[priority
priority-code
|
port
port
|rate-limit
limit
]
where
• hostname is the hostname or IP address of the remote syslog host. Specify up to four remote syslog
hosts. To specify more than one syslog host, use multiple command lines; specify one host per
command.
rate-limit (Optional) Sets the rate limit (in messages per second) for sending messages
to a host.
message_rate Rate limit (in messages per second) for sending messages to the host.
(0–10000). Setting the rate limit to 0 disables rate limiting.