zhongwencool 2 лет назад
Родитель
Сommit
1d7aa9495a

+ 2 - 0
apps/emqx_enterprise/test/emqx_enterprise_schema_SUITE.erl

@@ -95,6 +95,8 @@ t_audit_log_conf(_Config) ->
                 <<"enable">> => false,
                 <<"level">> => <<"info">>,
                 <<"path">> => <<"log/audit.log">>,
+                <<"ignore_high_frequency_request">> => true,
+                <<"max_filter_size">> => 5000,
                 <<"rotation_count">> => 10,
                 <<"rotation_size">> => <<"50MB">>,
                 <<"time_offset">> => <<"system">>

+ 1 - 1
mix.exs

@@ -214,7 +214,7 @@ defmodule EMQXUmbrella.MixProject do
       :emqx_bridge_azure_event_hub,
       :emqx_gcp_device,
       :emqx_dashboard_rbac,
-      :eqmx_dashboard_sso,
+      :emqx_dashboard_sso,
       :emqx_audit
     ])
   end

+ 2 - 2
rel/i18n/emqx_conf_schema.hocon

@@ -732,8 +732,8 @@ audit_log_max_filter_limit.label:
 """Max Filter Limit"""
 
 audit_log_ignore_high_frequency_request.desc:
-"""Ignore high frequency requests to avoid flooding the audit log.
-such publish/subscribe kickout http api requests are ignored."""
+"""Ignore high frequency requests to avoid flooding the audit log,
+such as publish/subscribe kick out http api requests are ignored."""
 
 audit_log_ignore_high_frequency_request.label:
 """Ignore High Frequency Request"""