What happens on syslog-ng if no transport is configured, but UDP port is set?

时间:2019-05-31 11:34:45

标签: syslog syslog-ng

By default, as stated in the documentation of syslog-ng, the default Transport Protocol used by syslog-ng is TCP.here,

If I don't configure the Transport Protocol, but instead I configure PORT 514 which is the default UDP port, what will happen? Will the communications go over TCP or UDP?

1 个答案:

答案 0 :(得分:1)

默认情况下,syslog-ng的syslog()network()驱动程序使用TCP。将port()选项设置为514而不指定transport()意味着514 / tcp。