Info-Center Logfile Size-Quota; Info-Center Logfile Directory - HP FlexFabric 12500 Series Network Management And Monitoring Command Reference

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

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 of a log file is 5 MB.
Views
System view
Predefined user roles
network-admin
mdc-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 up to 20 log files. Each log file has a specific capacity. When the capacity is
reached, 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 twentieth log file is full or the storage device has no space available,
the system deletes the earliest log file and creates a new one.
Examples
# Set the maximum size for a log file to 6 MB.
<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 configure the directory where a log file is saved.
Syntax
info-center logfile directory dir-name
Default
The log file is saved in the logfile directory under the root directory of the storage device. If the storage
device has been partitioned, the log file is saved in the in the logfile directory on the second partition of
the storage device.
Views
System view
219

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents