rsyslog: Allow the forwarding format to be specified with the 'forward'
variable. Default to the old static value if the variable is undefined.
This commit is contained in:
@@ -5,5 +5,5 @@ $ActionQueueType LinkedList
|
|||||||
$ActionQueueFileName {{ dest.name }}
|
$ActionQueueFileName {{ dest.name }}
|
||||||
$ActionResumeRetryCount -1
|
$ActionResumeRetryCount -1
|
||||||
$ActionQueueSaveOnShutdown on
|
$ActionQueueSaveOnShutdown on
|
||||||
*.* {{ dest.dest }};RSYSLOG_ForwardFormat
|
*.* {{ dest.dest }};{{ dest.format | default("RSYSLOG_ForwardFormat") }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user