< Home

portal local-server syslog-limit period

Function

The portal local-server syslog-limit period command configures the log suppression period for users authenticated through the built-in Portal server.

The undo portal local-server syslog-limit period command restores the default log suppression period.

By default, the log suppression period is 300 seconds for users authenticated through the built-in Portal server.

Format

portal local-server syslog-limit period value

undo portal local-server syslog-limit period

Parameters

Parameter

Description

Value

value

Specifies the log suppression period for users authenticated through the built-in Portal server.

The value is an integer that ranges from 60 to 604800, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The device generates logs when users authenticated through the built-in Portal server fail to go online or offline. If a user fails to go online or offline, the user attempts to go online or offline repeatedly, and the device generates a large number of logs within a short time. This results in a high failure rate in the statistics and degrades the system performance. You can enable the log suppression function (configured using the portal local-server syslog-limit enable command) for users authenticated through the built-in Portal server. The device then only generates one log if a user fails to go online or offline within a suppression period.

Example

# Set the log suppression period to 1000 seconds for users authenticated through the built-in Portal server.

<HUAWEI> system-view
[HUAWEI] portal local-server syslog-limit period 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >