No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
log-record-level

log-record-level

Function

The log-record-level command configures the level for RU logs that need to be backed up.

The undo log-record-level command restores the default level of RU logs that need to be backed up.

By default, the level of RU logs that need to be backed up is info.

Format

log-record-level { alert | critical | debug | emergency | error | info | notice | warning }

undo log-record-level

Parameters

Parameter

Description

Value

alert

Configures the level of logs as alert, that is, the RU backs up logs that need to be processed immediately.

-

critical

Configures the level of logs as critical, that is, the RU backs up critical logs.

-

debug

Configures the level of logs as debug, that is, the RU backs up debugging logs.

-

emergency

Configures the level of logs as emergency, that is, the RU backs up unavailable logs.

-

error

Configures the level of logs as error, that is, the RU backs up error logs.

-

info

Configures the level of logs as info, that is, the RU backs up normal logs.

-

notice

Configures the level of the logs as notice, that is, the RU backs up logs that need to be noticed.

-

warning

Configures the level of logs as warning, that is, the RU backs up warning logs.

-

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An RU periodically backs up logs to the log server. However, not all the logs need to be backed up. You can run the log-record-level command to configure the level of logs to be periodically backed up.

Precautions

The preference order of log levels is emergency, alert, critical, error, warning, notice, info, and debug.

After you specify the level for RU logs that need to be backed up, all logs of the specified level or a higher level will be backed up. For example, if you set the level of RU logs that need to be backed up to critical, the logs of the levels emergency, alert, and critical will be backed up.

Example

# Set the level of logs that need to be backed up as alert.

<Huawei> system-view
[Huawei] wlan 
[Huawei-wlan-view] ap-system-profile name ap-system1
[Huawei-wlan-ap-system-prof-ap-system1] log-record-level alert
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202912

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next