After T5367 the remote syslog option is no longer working if TCP transport is defined.
This results in NO remote logging host beeing configured in rsyslogd.
Reproduce
set system syslog host 10.5.0.20 facility all level 'all' set system syslog host 10.5.0.20 port '10513' set system syslog host 10.5.0.20 protocol 'tcp'
Results in (Remote logging section is empty)
vyos@vyos# cat /etc/rsyslog.d/00-vyos.conf ### Autogenerated by system_syslog.py ### $ModLoad immark $MarkMessagePeriod 1200 $PreserveFQDN on $LocalHostName LR2.wue3.mybll.net # We always log to /var/log/messages $outchannel global,/var/log/messages,262144,/usr/sbin/logrotate /etc/logrotate.d/vyos-rsyslog *.info;local7.debug :omfile:$global # Console logging *.emerg;mail.info /dev/console # Remote logging