Skip to content

Commit

Permalink
syslog-format: fix debug message in case framing is found in front of…
Browse files Browse the repository at this point in the history
… the message

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
  • Loading branch information
bazsi committed Nov 2, 2024
1 parent 7c83f22 commit 7013ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/syslogformat/syslog-format.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ _syslog_format_check_framing(LogMessage *msg, const guchar **data, gint *length)
/* we did indeed find a series of digits that look like framing, that's
* probably not what was intended. */
msg_debug("RFC5425 style octet count was found at the start of the message, this is probably not what was intended",
evt_tag_mem("data", data, src - (*data)),
evt_tag_mem("data", *data, src - (*data)),
evt_tag_msg_reference(msg));
log_msg_set_tag_by_id(msg, LM_T_SYSLOG_UNEXPECTED_FRAMING);
*data = src;
Expand Down

0 comments on commit 7013ad5

Please sign in to comment.