Saving Logs To The Log File - HP 6125XLG Configuration Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Step
2.
Enable the information center.
3.
Enable log output to the log
buffer.
4.
(Optional.) Set the maximum
number of logs that can be
stored in the log buffer.
5.
Configure an output rule for
the log buffer.
6.
(Optional.) Configure the
timestamp format.

Saving logs to the log file

The log file feature saves logs from the log file buffer to the log file every 24 hours by default. You can
adjust the saving interval or manually save logs to the log file. After logs are saved into the log file, the
system clears the log file buffer.
The log file has a maximum capacity. When the capacity is reached, the system will replace earliest logs
with new logs.
To save logs to the log file:
Step
1.
Enter system view.
2.
Enable the information center.
3.
Enable the log file feature.
Command
info-center enable
info-center logbuffer
info-center logbuffer [ size
buffersize ]
info-center source { module-name |
default } { console | monitor |
logbuffer | logfile | loghost }
{ deny | level severity }
info-center timestamp { boot | date
| none }
Command
system-view
info-center enable
info-center logfile enable
58
Remarks
By default, the information center is
enabled.
By default, log output to the log
buffer is enabled.
By default, the log buffer can store
up to 512 logs.
For more information about default
output rules, see
"Default log
output
rules."
By default, the timestamp format is
date.
Remarks
N/A
By default, the information center is
enabled.
By default, the log file feature is
enabled.

Advertisement

Table of Contents
loading

Table of Contents