< Home

web-proxy log level

Function

The web-proxy log level command configures the web proxy log level for the virtual gateway.

Format

web-proxy log level { basic | detail [ suffix-string | default ] }

Parameters

Parameter Description Value
basic

Logs web proxy resources that users can directly access using the client, not the web resources linked from the listed resources.

-
detail
Logs users' access to all the web proxy resources, which fall into:
  • Resources listed on the web proxy portal on the client.
  • Resources linked from the resources listed on the web proxy portal.
-
suffix-string

Specifies the name extension string of the resource type.

It is a string of 1 to 128 case-sensitive characters. Name extensions are separated by a comma (,).
default

Indicates the default resource type (such as DOC, DOCX, XLS, XLSX, PPT, PPTX, PDF, TXT, RAR, and ZIP).

-

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

The default level of web proxy logs is basic.

By setting the log level, you can limit the number of logs generated upon user access to web proxy resources.

Example

# Set the level of web proxy logs to detail.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] web-proxy log level detail
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >