Our "run show log" command uses syslog for historical reasons, and we cannot avoid using syslog because all software for collecting logs from remote machines uses it.
Since we are using systemd now, all logs go to journald, which is supposed to forward the messages to syslog. Except sometimes it doesn't.
For example:
[email protected]# sudo journalctl -u keepalived -- Logs begin at Sat 2018-10-13 04:23:10 CEST, end at Sat 2018-10-13 18:33:53 CEST. -- Oct 13 18:32:05 vyos Keepalived_vrrp[3944]: Printing VRRP as json for process(3944) on signal Oct 13 18:32:24 vyos Keepalived_vrrp[3944]: Netlink reports eth1 down Oct 13 18:32:24 vyos Keepalived_vrrp[3944]: (Foo) Entering FAULT STATE Oct 13 18:32:24 vyos Keepalived_vrrp[3944]: (Foo) sent 0 priority Oct 13 18:32:24 vyos Keepalived_vrrp[3944]: VRRP_Group(Bar) Syncing instances to FAULT state Oct 13 18:32:24 vyos conntrack-tools[20934]: vyatta-vrrp-conntracksync invoked at Sat Oct 13 18:32:24 CEST 2018 Oct 13 18:32:24 vyos conntrack-tools[20937]: vyos transitioning to FAULT state for VRRP sync-group [Bar] Oct 13 18:32:25 vyos vyos-vrrp-wrapper[20931]: Running transition script /config/scripts/backup.sh testtesttest for VRRP group Foo Oct 13 18:32:25 vyos vyos-vrrp-wrapper[20931]: Transition script /config/scripts/backup.sh testtesttest executed successfully
...but all we get in syslog is:
Oct 13 18:32:24 vyos conntrack-tools: vyos transitioning to FAULT state for VRRP sync-group [Bar] Oct 13 18:32:25 vyos vyos-vrrp-wrapper: Running transition script /config/scripts/backup.sh testtesttest for VRRP group Foo