docs: add change log for #12746
also updated #12520 to include newly added throttled log id
This commit is contained in:
parent
38e30622f3
commit
90fce21adc
|
@ -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),
|
||||||
|
|
|
@ -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,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,
|
||||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue