S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
18-10
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 18 Scheduling Maintenance Jobs
Execution Logs
About Execution Logs
The command scheduler maintains a log file. While you cannot modify the contents of this file, you can
change the file size. This log file is a circular log that contains the output of the job executed. If the
output of the job is greater than the log file, then the output stored in this file remains truncated.
You can configure the log file size to be a maximum of 1024 KB. The default size of the execution log
file is 16 KB.
Configuring Execution Logs
To configure the execution log file size, follow these steps:
\
To display the execution log file configuration, use the
show scheduler config
command.
switch#
show scheduler config
config terminal
scheduler enable
scheduler logfile size 1024
end
Displaying Execution Log File Contents
To display the execution log for all jobs executed in the system, use the
show scheduler logfile
command.
switch#
show scheduler logfile
Job Name : addMemVsan99 Job Status: Success (0)
Schedule Name : configureVsan99 User Name : admin
Completion time: Tue Aug 10 09:48:00 2004
--------------------------- Job Output ---------------------------
`config terminal`
`vsan database`
`vsan 99 interface fc1/1`
`vsan 99 interface fc1/2`
`vsan 99 interface fc1/3`
`vsan 99 interface fc1/4`
Clearing the Execution Log File Contents
To clear the contents of the scheduler execution log file, issue the
clear scheduler logfile
command in
EXEC mode.
switch#
clear scheduler logfile
Command
Purpose
Step 1
switch#
conf t
switch(config)#
Enters the configuration mode.
Step 2
switch(config)#
scheduler logfile size 1024
Configures the log file to be a
maximum of 1024 KB
switch(config)#
no
scheduler logfile size
Defaults to the log size of 16 KB.