You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by mo...@apache.org on 2023/12/13 11:18:19 UTC

(apisix) branch master updated: docs(syslog): remove the unused property name (#10644)

This is an automated email from the ASF dual-hosted git repository.

monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 0609efadc docs(syslog): remove the unused property name (#10644)
0609efadc is described below

commit 0609efadcc81564242a1cd3bdf027405a12c943a
Author: jujiale <48...@users.noreply.github.com>
AuthorDate: Wed Dec 13 19:18:11 2023 +0800

    docs(syslog): remove the unused property name (#10644)
---
 docs/en/latest/plugins/syslog.md | 3 +--
 docs/zh/latest/plugins/syslog.md | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/docs/en/latest/plugins/syslog.md b/docs/en/latest/plugins/syslog.md
index 222cc7f29..039631f20 100644
--- a/docs/en/latest/plugins/syslog.md
+++ b/docs/en/latest/plugins/syslog.md
@@ -37,8 +37,7 @@ Logs can be set as JSON objects.
 | Name             | Type    | Required | Default      | Valid values  | Description                                                                                                              |
 |------------------|---------|----------|--------------|---------------|--------------------------------------------------------------------------------------------------------------------------|
 | host             | string  | True     |              |               | IP address or the hostname of the Syslog server.                                                                         |
-| port             | integer | True     |              |               | Target port of the Syslog server.                                                                                        |
-| name             | string  | False    | "sys logger" |               | Identifier for the server.                                                                                               |
+| port             | integer | True     |              |               | Target port of the Syslog server.                                                                                        | |
 | timeout          | integer | False    | 3000         | [1, ...]      | Timeout in ms for the upstream to send data.                                                                             |
 | tls              | boolean | False    | false        |               | When set to `true` performs TLS verification.                                                                            |
 | flush_limit      | integer | False    | 4096         | [1, ...]      | Maximum size of the buffer (KB) and the current message before it is flushed and written to the server.                  |
diff --git a/docs/zh/latest/plugins/syslog.md b/docs/zh/latest/plugins/syslog.md
index 89af4dfea..7b8f5595e 100644
--- a/docs/zh/latest/plugins/syslog.md
+++ b/docs/zh/latest/plugins/syslog.md
@@ -39,7 +39,6 @@ description: API 网关 Apache APISIX syslog 插件可用于将日志推送到 S
 | ---------------- | ------- | ------ | ------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
 | host             | string  | 是     |              |               | IP 地址或主机名。                                                                                                                      |
 | port             | integer | 是     |              |               | 目标上游端口。                                                                                                                         |
-| name             | string  | 否     | "sys logger" |               | syslog 服务器的标识符。                                                                                                                |
 | timeout          | integer | 否     | 3000         | [1, ...]      | 上游发送数据超时(以毫秒为单位)。                                                                                                       |
 | tls              | boolean | 否     | false        |               | 当设置为 `true` 时执行 SSL 验证。                                                                                                       |
 | flush_limit      | integer | 否     | 4096         | [1, ...]      | 如果缓冲的消息的大小加上当前消息的大小达到(> =)此限制(以字节为单位),则缓冲的日志消息将被写入日志服务器,默认为 4096(4KB)。              |