The code in this area is slightly different in plus which makes generating a patch more difficult. In the interest of minimizing changes to older systems, this diff should apply against 23.01 and have the correct net effect without being as nice/proper a fix as what I committed for 23.05/2.7.0.
diff --git a/src/etc/inc/syslog.inc b/src/etc/inc/syslog.inc
index feced73bd3..dd875cfd6d 100644
--- a/src/etc/inc/syslog.inc
+++ b/src/etc/inc/syslog.inc
@@ -217,7 +217,7 @@ EOD;
safe_mkdir("{$g['varetc_path']}/syslog.d");
$syslogd_extra = "";
- if (!empty($syslogcfg)) {
+ if (true) {
$separatelogfacilities = array('ntp', 'ntpd', 'ntpdate', 'charon', 'ipsec_starter', 'openvpn', 'poes', 'l2tps', 'hostapd', 'dnsmasq', 'named', 'filterdns', 'unbound', 'dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c', 'dpinger', 'radvd', 'routed', 'zebra', 'ospfd', 'ospf6d', 'bgpd', 'watchfrr', 'miniupnpd', 'igmpproxy', 'filterlog');
if (watchdogd_enabled()) {
array_push($separatelogfacilities, 'watchdogd');
Also as a workaround, visiting the system log settings and pressing Save without changing anything would also fix the original issue, as that would define the syslog section of the config with content sufficient it would pass the original test.