Skip to content

Commit

Permalink
Fix mako formatting of syslog-ng message template (#15267)
Browse files Browse the repository at this point in the history
The mako template was inserting a new line instead of a literal
newline character. This apparently accidentally works in the
syslog-ng configuration, but looks bad.
  • Loading branch information
anodos325 authored Dec 24, 2024
1 parent 77946ce commit 655687e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ logger = middleware.logger
# The messages coming in via middleware are already formatted by logger
# and so we don't want to do additional formatting.
syslog_template = 'template("${MESSAGE}\n")'
syslog_template = 'template("${MESSAGE}\\n")'
def generate_syslog_remote_destination(advanced_config):
Expand Down

0 comments on commit 655687e

Please sign in to comment.