shuaijinchao commented on a change in pull request #6415:
URL: https://github.com/apache/apisix/pull/6415#discussion_r814690286



##########
File path: docs/zh/latest/plugins/error-log-logger.md
##########
@@ -57,11 +57,8 @@ title: error-log-logger
 | timeout                          | integer | 可选   | 3                        
      | [1,...]          | 连接和发送数据超时间(以秒为单位)                                    
         |
 | keepalive                        | integer | 可选   | 30                       
      | [1,...]          | 复用连接时,连接保持的时间(以秒为单位)                                 
       |
 | level                            | string  | 可选   | WARN                     
      |                  | 进行错误日志筛选的级别,缺省WARN,取值["STDERR", "EMERG", "ALERT", 
"CRIT", "ERR", "ERROR", "WARN", "NOTICE", "INFO", "DEBUG"],其中 ERR 与 ERROR 级别一致  
                                   |
-| inactive_timeout                 | integer | 可选   | 3                        
      | [1,...]          | 刷新缓冲区的最大时间(以秒为单位)                                    
         |
-| batch_max_size                   | integer | 可选   | 1000                     
      | [1,...]          | 每批的最大大小                                              
               |
-| buffer_duration                  | integer | 可选   | 60                       
      | [1,...]          | 必须先处理批次中最旧条目的最长期限(以秒为单位)                             
    |
-| max_retry_count                  | integer | 可选   | 0                        
      | [0,...]          | 从处理管道中移除之前的最大重试次数                                    
         |
-| retry_delay                      | integer | 可选   | 1                        
      | [0,...]          | 如果执行失败,则应延迟执行流程的秒数                                   
        |
+
+本插件支持使用批处理器来聚合条目(日志数据),并批量处理它们。这样可以减少每个时间范围内从插件发送的请求数。当然本插件提供默认的批处理器配置,因此您不必担心会有额外的问题。如果你想了解有关批处理器相关参数的更多信息,请参考
 [Batch-Processor](../batch-processor.md#配置) 配置部分。

Review comment:
       I think this sentence is very similar to the English translated directly 
through the translation tool, and it may not be very friendly to Chinese users.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to