Page MenuHomeVyOS Platform

syslog: remote syslog broken after "add format option to include timezone in message"
Closed, ResolvedPublicBUG

Description

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

Details

Version
1.5-rolling-202411070006
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)
Forum thread
https://forum.vyos.io/t/roling-release-2024-11-02-remote-syslog-not-working-anymore/15487

Event Timeline

c-po updated the task description. (Show Details)
c-po changed the task status from Open to In progress.Nov 7 2024, 9:12 PM
c-po claimed this task.
c-po triaged this task as Urgent! priority.
c-po updated the task description. (Show Details)
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.1) board.
c-po moved this task from Finished to Backlog on the VyOS 1.4 Sagitta (1.4.1) board.
dmbaturin moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.1) board.
dmbaturin moved this task from Backport Candidates to Completed on the VyOS Rolling board.