Skip to content

Commit db48f0f

Browse files
author
Christopher M. Neill
committed
extra spaces
1 parent 898b400 commit db48f0f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/roles/loggly/templates/21-output-syslog.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ if $msg contains '{{ name }}' and $syslogfacility-text == 'local7' then :omfile:
99

1010
# {{ name }} access file:
1111
#Add a tag for {{ name }} events
12-
$template LogglyFormat_{{ name }},"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [{{ loggly_token }}@41058 tag=\"runnable\" tag=\"{{ node_env }}\" ] %msg%\n"
12+
$template LogglyFormat_{{ name }},"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [{{ loggly_token }}@41058 tag=\"runnable\" tag=\"{{ node_env }}\"] %msg%\n"
1313
if $msg contains '{{ name }}' then @@logs-01.loggly.com:6514;LogglyFormat_{{ name }}
1414
if $msg contains '{{ name }}' then stop

ansible/roles/loggly/templates/22-loggly.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# -------------------------------------------------------
44

55
# Define the template used for sending logs to Loggly. Do not change this format.
6-
$template LogglyFormat,"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [{{ loggly_token }}@41058 tag=\"{{ node_env }}\" ] %msg%\n"
6+
$template LogglyFormat,"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [{{ loggly_token }}@41058 tag=\"{{ node_env }}\"] %msg%\n"
77

88
$WorkDirectory /var/spool/rsyslog # where to place spool files
99
$ActionQueueFileName fwdRule1 # unique name prefix for spool files

0 commit comments

Comments
 (0)