Info-Center Logfile Size-Quota; Info-Center Logfile Directory - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

Usage guidelines
This command enables the system to automatically save logs in the log file buffer to a log file at the
specified interval.
Examples
# Set the log file saving interval to 60000 seconds.
<Sysname> system-view
[Sysname] info-center logfile frequency 60000
Related commands
info-center logfile enable

info-center logfile size-quota

Use info-center logfile size-quota to set the maximum size for a log file.
Use undo info-center logfile size-quota to restore the default.
Syntax
info-center logfile size-quota size
undo info-center logfile size-quota
Default
The maximum size for a log file is 5 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size for a log file, in MB. The value range is 1 to 10.
Usage guidelines
The device supports multiple log files. Each log file has a limited capacity. When a log file is full, the
system creates a new log file to save new messages. The log files are named as logfile1.log, logfile2.log,
and so on. When the last log file is full or the storage device runs out of space, the system deletes the
oldest log file and creates a new one.
Examples
# Set the maximum size to 6 MB for a log file.
<Sysname> system-view
[Sysname] info-center logfile size-quota 6
Related commands
info-center logfile enable

info-center logfile directory

Use info-center logfile directory to specify the log file directory.
431

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents