Skip to content

Commit

Permalink
Only load imtcp if blackbox is using TCP [Finishes #153997365]
Browse files Browse the repository at this point in the history
Signed-off-by: Milan Klanjsek <mklanjsek@pivotal.io>
  • Loading branch information
anEXPer authored and mklanjsek committed Jan 3, 2018
1 parent 601ed0a commit 6773973
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/syslog_forwarder/templates/rsyslog.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ $ModLoad imudp
$UDPServerAddress 127.0.0.1
$UDPServerRun 514

<% if p('syslog.use_tcp_for_file_forwarding_local_transport') %>
$ModLoad imtcp
$InputTCPServerRun 514
<% end %>

# following https://tools.ietf.org/html/rfc5424#section-6
template(name="SyslogForwarderTemplate" type="list") {
Expand Down

0 comments on commit 6773973

Please sign in to comment.