Revision b1360be3
src/etc/inc/syslog.inc | ||
---|---|---|
231 | 231 |
@file_put_contents("{$g['varetc_path']}/syslog.d/" . basename($pkg_log_filename) . ".conf", $pkgsyslogconf); |
232 | 232 |
} |
233 | 233 |
} |
234 |
$facilitylist = implode(',', array_unique($separatelogfacilities)); |
|
235 | 234 |
|
236 | 235 |
$syslogconf .= "!*\n"; |
237 | 236 |
if (!config_path_enabled('syslog', 'disablelocallogging')) { |
... | ... | |
354 | 353 |
$syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*"); |
355 | 354 |
} |
356 | 355 |
|
356 |
$facilitylist = implode(',', array_unique($separatelogfacilities)); |
|
357 | 357 |
$syslogconf .= "!-{$facilitylist}\n"; |
358 | 358 |
if (!config_path_enabled('syslog', 'disablelocallogging')) { |
359 | 359 |
$syslogconf .= <<<EOD |
Also available in: Unified diff
Clean up diffs