Configuring The Device To Output Logs To A Log File - Huawei AR150 Series Configuration Manual

Hide thumbs Also See for AR150 Series:
Table of Contents

Advertisement

Huawei AR150&200&1200&2200&3200 Series Enterprise
Routers
Configuration Guide - Device Management
By default, channel 4 is enabled to output logs and the lowest log severity is warning.
Step 5 (Optional) Run:
info-center logbuffer size logbuffer-size
The maximum number of logs in the log buffer is set.
By default, a log buffer can store a maximum of 512 logs.
----End

3.6.1.7 Configuring the Device to Output Logs to a Log File

Context
After logs are output to a log file, you can view the log file anytime to monitor device running
based on the logs.
NOTE
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center logfile channel { channel-number | channel-name }
A channel through which logs are output to a log file is specified.
By default, the device uses channel 9 to output logs to a log file.
Step 3 Run:
info-center source { module-name | default } channel { channel-number | channel-
name } log { state { off | on } | level severity }
A rule for outputting logs to a channel is set.
By default, channel 9 is enabled to output logs and the lowest log severity is debugging.
Step 4 (Optional) Run:
info-center logfile path path
The path where log files are saved is specified.
Issue 05 (2014-01-16)
Information can be saved in file format only when the device has storage media such as the USB disk or
SD card.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
*
38

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents