Chapter 4 Service Configuration
Syntax
command log toFile
Guidelines
The logs are in the
command_log.dat
file in the Flash memory. When the
comman
d_log.dat
is detected during device restart, the file is backed up as the
command_
log_backup.dat
file automatically. The primary
command_log_backup.dat
file is
overwritten. You can modify the name of the
command_log_backup.dat
file manually
on the
bootManager
screen if necessary.
4.1.80 command log timer
Purpose
This command sets the automatic saving function of log information.
Command Mode
Global configuration mode
Syntax
command log timer
{
enable
|
disable
|
interval
<
1-720
>}
Parameter Description
Parameter
Description
enable
Enables the automatic saving function.
disable
Disables the automatic saving function.
interval
Sets the interval of saving log information to the Flash memory.
<
1-720
>
Interval of saving log information, unit: hours.
Default
24 hours
Example
The following example sets the interval of saving log information automatically to 10 hours:
zte(cfg)#command log timer interval 10
4.1.81 show command log user
Purpose
This command shows historical configuration commands based on users.
4-41
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential