Chapter 4 Using the CSS Logging Features
Specifying Logging Buffer Size
4-6
Cisco Content Services Switch Administration Guide
OL-5647-02
The following running-configuration example shows the results of entering the
commands in Table 4-2.
!*************************** GLOBAL ***************************
logging buffer 1000
logging subsystem rip level alert-1
logging disk stubs
logging sendmail us@cisco.com 172.16.6.58 critical-2
Specifying Logging Buffer Size
The logging buffer size is the amount of information the CSS buffers in memory
before outputting the information to disk. The larger you configure the buffer size,
the less frequently the CSS outputs the contents to disk. Specifying a buffer size
is required only if you specify logging to disk as the log file destination.
To set the disk buffering size,
use the logging buffer command. Specify the buffer
size from 0 to 64000 bytes. The default is 0, where the CSS sends the logging
output directly to the log file.
To set the buffer size to 1000 bytes, enter:
(config)# logging buffer 1000
4. Optionally, enable
the CSS to send
log messages to an
e-mail address and
specify a level.
sendmail email address of
mail recipient
IP address or hostname of
SMTP host
level - Valid levels for the
CSS:
fatal-0, alert-1, critical-2,
error-3, warning-4,
notice-5, info-6, debug-7
logging sendmail
us@arrowpoint.com
172.16.6.58 critical-2
5. Show the log file. filename - Log file to display show log stubs
Table 4-2 Configuring and Enabling Logging (continued)
Step Logging Option Example