浏览代码

docs: add change log for #12746

also updated #12520 to include newly added throttled log id
zmstone 1 年之前
父节点
当前提交
90fce21adc

+ 1 - 1
apps/emqx_connector/src/schema/emqx_connector_schema.erl

@@ -340,7 +340,7 @@ transform_bridge_v1_config_to_action_config(
     ActionMap0 = lists:foldl(
     ActionMap0 = lists:foldl(
         fun
         fun
             ({enable, _Spec}, ToTransformSoFar) ->
             ({enable, _Spec}, ToTransformSoFar) ->
-                %% Enable filed is used in both
+                %% Enable field is used in both
                 ToTransformSoFar;
                 ToTransformSoFar;
             ({ConnectorFieldName, _Spec}, ToTransformSoFar) ->
             ({ConnectorFieldName, _Spec}, ToTransformSoFar) ->
                 ConnectorFieldNameBin = to_bin(ConnectorFieldName),
                 ConnectorFieldNameBin = to_bin(ConnectorFieldName),

+ 1 - 1
apps/emqx_gateway_gbt32960/src/emqx_gbt32960_frame.erl

@@ -234,7 +234,7 @@ parse_data(
     <<Year:?BYTE, Month:?BYTE, Day:?BYTE, Hour:?BYTE, Minute:?BYTE, Second:?BYTE, Total:?BYTE,
     <<Year:?BYTE, Month:?BYTE, Day:?BYTE, Hour:?BYTE, Minute:?BYTE, Second:?BYTE, Total:?BYTE,
         Rest/binary>>
         Rest/binary>>
 ) ->
 ) ->
-    %% XXX: need check ACK filed?
+    %% XXX: need check ACK field?
     #{
     #{
         <<"Time">> => #{
         <<"Time">> => #{
             <<"Year">> => Year,
             <<"Year">> => Year,

+ 1 - 0
changes/ce/feat-12520.en.md

@@ -1,6 +1,7 @@
 Implement log throttling. The feature reduces the number of potentially flooding logged events by
 Implement log throttling. The feature reduces the number of potentially flooding logged events by
 dropping all but the first event within a configured time window.
 dropping all but the first event within a configured time window.
 Throttling is applied to the following log events:
 Throttling is applied to the following log events:
+ - authentication_failure,
  - authorization_permission_denied,
  - authorization_permission_denied,
  - cannot_publish_to_topic_due_to_not_authorized,
  - cannot_publish_to_topic_due_to_not_authorized,
  - cannot_publish_to_topic_due_to_quota_exceeded,
  - cannot_publish_to_topic_due_to_quota_exceeded,

+ 3 - 0
changes/ce/feat-12746.en.md

@@ -0,0 +1,3 @@
+Add `username` log field.
+
+If MQTT client is connected with a non-empty username the logs and traces will include `username` field.